News for hackers. Stuff that matters.
Re:Safari on iOS can overlap multiple full-screen videos by sp332 on Thursday June 16, 2022 @12:42PM (#31768134)
Where is the part that causes these videos to be full screen? I didn't see that in the HTML or JS.
Re:Safari on iOS can overlap multiple full-screen videos by mnemnc on Thursday June 16, 2022 @12:47PM (#31768208)
That‘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.
Re:Safari on iOS can overlap multiple full-screen videos by GranPC on Thursday June 16, 2022 @01:32PM (#31768720)
iOS 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.
Re:Safari on iOS can overlap multiple full-screen videos by happyopossum on Thursday June 16, 2022 @01:16PM (#31768550)
Fullscreen is definitely not the only way to play video on iOS safari...
Re:Safari on iOS can overlap multiple full-screen videos by tinus_hn on Thursday June 16, 2022 @02:54PM (#31769594)
YouTube (the website) plays video in a frame just fine.
Re:Safari on iOS can overlap multiple full-screen videos by mmazzarolo on Thursday June 16, 2022 @12:47PM (#31768197)
The “play” method is enough to trigger the full screen — which, by the way, isn’t really intuitive imho.
Re:Safari on iOS can overlap multiple full-screen videos by judge2020 on Thursday June 16, 2022 @12:50PM (#31768243)
That's only if the video doesn't have the attribute `playsinline`.