0

I've tried using this code <?php print theme('video_embed_field_embed_code', array('url' => $video['http://www.youtube.com/embed/Zz1HPLtecOg'])); ?> but it only displays the url and doesnt show the video. How can I fix this?

1
  • are you trying to print a field, or hardcode the display of the video?
    – Geoff
    Sep 18, 2014 at 21:48

1 Answer 1

0
<?php print render($content['field_video_url]']);?>

try this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.