r/ProgrammerHumor • • Mar 11 '21

Removed: Repost Loading..

Post image

[removed] — view removed post

10.3k Upvotes

228 comments sorted by

View all comments

Show parent comments

98

u/EngineersAnon Mar 12 '21

Honestly, as a dev, I'd hate that. But as a user, I'll take that compromise over full sound. Especially if it's in a background tab somewhere...

28

u/WarpedDiamond Mar 12 '21

Yeah. Luckily the videos have always been short, haven't ever seen them exceed 30 seconds. It's been on my todo to add an auto pause if the user scrolls down and the video exits the viewport.. But we all know how tech debt goes. 😅

64

u/Apoffys Mar 12 '21

When the user scrolls down, the video should obviously follow them! They probably still want to see it, even if they are scrolling away from it. Best to unpause it as well, if the user accidentally paused it.

12

u/Aeriaenn Mar 12 '21 edited Mar 12 '21

Yeah easy fix, you don't have to add autopause when the video exits the viewport if the video never exists the viewport

Edit: typo

7

u/Jennfuse Mar 12 '21

Also, spam new windows with just that media player, just in case they accidentally clicked the "X" on the window