Support

Account

Home Forums ACF PRO oEmbed Youtube query

Solved

oEmbed Youtube query

  • I have used the oEmbed within a Flexible field and I am calling the video in my theme by

    <div class="embed-container"><?php the_sub_field("video");?></div>

    The above code works perfectly fine. But I want to embed a frameless video along with some options mentioned in my iframe code below:

    <iframe width="560" height="315" src="http://www.youtube.com/embed/mrMl59m7AKs?&rel=0&showinfo=0&modestbranding=1&controls=0&hd=1&autohide=1&playlist=mrMl59m7AKs" frameborder="0" allowfullscreen></iframe>

    How do we parse these options via acf oEmbed? Please help.

  • Hi @yavisht

    This is a great question, and has prompted me to update the oembed documentation with code to exactly this: http://www.advancedcustomfields.com/resources/oembed/

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.