3 ms·
Where is the part that causes these videos to be full screen? I didn't see that in the HTML or JS.
by sp332 4y ago
Where is the part that causes these videos to be full screen? I didn't see that in the HTML or JS.
- mnemnc 4y agoThat‘s at least the default behavior if not the only way to play video on iPhone‘s Safari. iPad Safari however supports non-fullscreen video playback.
- happyopossum 4y agoFullscreen is definitely not the only way to play video on iOS safari...
- GranPC 4y agoiOS Safari can play videos non-fullscreen with the playsinline or webkit-playsinline attributes. The fun thing though is that this attribute must be enabled manually on each web view, so if some other app is embedding your page and they didn't enable it, your videos will play fullscreen despite the attribute being set.
- tinus_hn 4y agoYouTube (the website) plays video in a frame just fine.
- mmazzarolo 4y agoThe “play” method is enough to trigger the full screen — which, by the way, isn’t really intuitive imho.
- judge2020 4y agoThat's only if the video doesn't have the attribute `playsinline`.