Wednesday, October 28, 2026
HomeiOS DevelopmentHTML5 movies don't play when embedded within a scrollable iFrame with Safari...

HTML5 movies don’t play when embedded within a scrollable iFrame with Safari on iOS

[ad_1]

With Safari on iOS, movies which might be embedded beneath the fold within a scrollable iFrame won’t start enjoying when tapped. When you faucet on the video a number of instances, or do a protracted faucet, the video might or might not start enjoying. Quite the opposite, the video will play with out situation so long as the video is embedded above the fold.

Till the bug is resolved, one potential work-around could also be to increase the peak of the iFrame and make its container scrollable. Nevertheless, that is lower than preferrred when the content material is variably sized and/or accommodates hyperlinks to different equally hosted pages. Can anybody suggest a greater resolution?

This was examined on iOS 15.4 with an iPhone 12 and iPad Professional (9.7-inch).

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments