Re:The balance has shifted away from SPAs
by NovemberWhiskey on Saturday May 21, 2022 @01:52PM
(#31460171)
Minimize a video so it's playing in the corner of the browser; notice that the video continues to play seamlessly as you navigate around the site. You can't do that in an MPA right now.
[ Parent
| on HN ]
That s super annoying btw . Frankly video is best browsed like a traditional multi page listing, like how porn sites do it
Re:The balance has shifted away from SPAs
by shrimp_emoji on Saturday May 21, 2022 @03:11PM
(#31460850)
But pages are difficult on mobile devices.
So are controls or useful UI or... :D
i dont get why they are difficult on mobile? inf scrolling is worse. Especially on android which has a back button everywhere. I think ppl should be more mindful of the megabytes of javascript that people have to download just to see a list of images
Re:The balance has shifted away from SPAs
by capableweb on Saturday May 21, 2022 @02:03PM
(#31460265)
You could in theory do that although the experience would be slightly odd. Either open the video in a new page and put in the bottom right, force focus it after the main window been active. Or wrap the entire websites in two iframes, one for main content and one for video player. Main content can change without interfering with the video player.
Not saying you should do either of these, as the UX would be worse, but you could if you really want to :)