• Hi,

    Thanks for your great plugin! After the update to WP 5.9 with the standard Theme Twenty-Twenty-Two the full-screen option in the embedded iframe does not work anymore:

    “Your browser doesn’t support fullscreen.”

    Here is a screenshot on an iPhone 12 with the most recent iOS version:

    https://i.postimg.cc/fRhvGpgk/IMG-9878.png

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author kevinweber

    (@kevinweber)

    @marcdk Are you sure that this has to do with the WP version and the plugin? I’d bet that this issue will happen with any theme and plugin that uses the official Youtube video player. It’s very likely an issue with iOS or the mobile browser you’re using. Please try a different theme and see if the issue persists; it probably does persist.

    Thread Starter Marc Toensing

    (@marcdk)

    Yes, it persists in different themes. Most recent iOS version on iPhone 12 and safari. But who rendered the embed code? Your plug-in or the WP core? I think only the html5 attribute ?fullscreen“ is missing to allow the embed going fullscreen.

    Thread Starter Marc Toensing

    (@marcdk)

    Plugin Author kevinweber

    (@kevinweber)

    I checked your blog post and yes, the plugin is responsible for loading the embed code. The embed code I’m currently using in the plugin is based on the embed code that you’d get from Youtube’s sharing button.

    Can you copy and paste below code snippet to that w3schools page and see if fullscreen works for all six videos? If they all work, then I’ve no idea what’s broken. (I don’t have an iPhone myself for testing…)

    <br>1)
    <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY?autoplay=1&mute=1">
    </iframe>
    
    <br>2)
    <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    
    <br>3)
    <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    
    <br>4)
    <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY?autoplay=1&mute=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    
    <br>5)
    <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY?autoplay=1&mute=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    
    <br>6)
    <iframe width="744px" height="419px" style="vertical-align:top; height: 419px; width: 744px" src="https://www.youtube.com/embed/yBhefH-AEtM?autoplay=1&modestbranding=1&rel=0&iv_load_policy=3&color=red" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

    Can you also share the link from the “Find out more” popup in your screenshot so that I can check what Youtube recommends doing? Have you followed their advice in that article?

    Plugin Author kevinweber

    (@kevinweber)

    I discovered that the “allowfullscreen” attribute is considered a legacy attribute, even though it’s still used in the embed code that Youtube videos provide via their share button. Instead,?allow="fullscreen" should be used. I updated the plugin accordingly. Maybe this solves your issue? Try updating to plugin version 2.16.5

    Thread Starter Marc Toensing

    (@marcdk)

    This still is not working on iOS. :/ Sorry.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘iOS and Twenty-Twenty-Two: “Your browser doesn’t support fullscreen.”’ is closed to new replies.