How do I get videos to playinline on iOS 10?

Just started using Construct 2? Post your questions here

Post » Tue Nov 29, 2016 6:01 am

iOS 10 supports inline video with the unprefixed playsinline attribute (https://webkit.org/blog/6784/new-video-policies-for-ios/) but when I export my game as an HTML5 page and open it in Safari in iOS 10 the videos still play fullscreen. Is that because they have the prefixed, webkit-playsinline attribute as stated here - https://www.scirra.com/forum/how-do-i-avoid-the-auto-fullscreen-video-player-on-ios_p1032570?#p1032570? If so, is there a way for me to add the unprefixed attribute somewhere or does the video object for Construct 2 need to be updated to support this?
B
5
S
2
G
2
Posts: 2
Reputation: 1,379

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests