Home Forums ACF PRO oEmbed Youtube query


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="" 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:


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

The topic ‘oEmbed Youtube query’ is closed to new replies.