I was wondering if there is any way to combine a custom field (in custom post type) with an embed shortcode? Long story short - a user type into a field called videox and an url for a video (youtube, vimeo) or audio (e.g. soundcloud). When I render this field, of course it displays as it was in the field. How do I convert such input into an embeded audio / video?
I've tried to echo that input between embed (as
do_shortcode('[embed]' . $adresgoeshere . '[/embed]');) yet without success.