[Webkit-unassigned] [Bug 160852] New: Change in behaviour of playsinline in iOS 10 breaks YouTube functionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 15 09:06:21 PDT 2016


            Bug ID: 160852
           Summary: Change in behaviour of playsinline in iOS 10 breaks
                    YouTube functionality
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iOS
                OS: Other
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tony.short2 at gmail.com

Our iOS app presenting a YouTube video within a WKWebView is no longer playing inline on loading.  The video now starts in Full Screen and the whilst the user can manually make it inline, the previous behaviour was for it to start playing inline.

This changed sometime between iOS 10 beta 2 and beta 5, and this happens on a device running iOS 10 beta 5 (an iPhone 6), but works fine as before on an iOS simulator (launched from XCode 8 beta 5).

The official YouTube helper app, shows this incorrect behaviour: https://github.com/youtube/youtube-ios-player-helper

The problem may well lie in how the YouTube script creates their <video> element, and how they are using webkit-playsonline & playsonline.  Another developer has raised this with Google (https://code.google.com/p/gdata-issues/issues/detail?id=8487) and myself on SO (http://stackoverflow.com/questions/38879065/why-dont-youtube-videos-play-inline-in-ios-10-beta-5/38885359#38885359), but no response.  We appreciate it may be on YouTube to fix this, but with no quick response we're worried that iOS 10 will be released and it will have significant impact on the UI, and I imagine a lot of apps will be affected by this.  I am hoping this can be resolved by either the Webkit or the YouTube team.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160815/565a6c6e/attachment-0001.html>

More information about the webkit-unassigned mailing list