Scrolling through a thread whilst content is playing causes that content to stop
If a youtube video is playing as you scroll through a thread (for example, if the OP decrees that his thread has a theme song and that theme song is nyan cat 10 hour edition, or in my case listening to john oliver as I scrolled through the bad ideas thread) after a certain number of posts scrolled the content will stop playing unexpectedly.
- go to any long thread with a youtube link
- set the youtube link playing
- scroll relentlessly.
content continues playing regardless of location in thread.
content stops playing after sufficient scrolling.
For the purposes of providing an in-thread repro, this thread has nyan cat 10 hours as the theme song.
now we just need to make sufficient posts in this thread for scrolling to unload this post.
As you scroll through the thread, langoliers eat your post. CLOSED WONTFIX ASDESIGNED
As you scroll things unload once you get far enough above or below them. This should be the expected behavior of infiniscroll (and one of the reasons people don't like it). The fact that this surprised you is kinda worrying, please tell me you don't do web stuff.
I know you will hate me for saying this but using youtube to listen to music INSIDE A FORUM is doing it wrongtm
I thought you knew how this infinite-scroll works by now?
As more posts are loaded into the DOM the older posts are unloaded. So the post with the video leaves the DOM and therefore loses the ability to play.
There is nothing you can do about it. Would be the same with pagination, though, since you'd have to leave the page (except you can do Ctrl + click!)
Filed Under: [If you want to listen a youtube-video inside a topic while you scroll through it, right click the timestamp of the post with the video and open the link in a new tab. Then scroll through that.
I know all of this, but the behaviour is unexpected!
ALL THREADS SHOULD HAVE THEME SONGS.
"I know how this works so I did not expect things to work the way they do" ← what?
If the music stayed on, it would be less expected, tbh. Please make that happen and then file another bugreport
Filed Under: NaNaNaNa NaNaNaNa BugReport
Filed Under: NaNaNaNa NaNaNaNa BugReport
I vote for this as the new DiscoTheme. Same BPM as Stayin' Alive.
As you scroll through the thread, langoliers eat your post.
Definitely an Oscar-worthy performance from Bronson Pinchot there.
slightly more seriously:
I expected this to happen as I scrolled through the thread, but it was a legitimate use case. I was multi tasking in that I tend to not pay attention to the video whilst watching stand-up or similar content, so I scrolled through the thread as I listened. I figured the music might be a slightly more commonly considered use case, but probably not.
I would argue that if I was streaming another april fools audio article whilst scrolling through it's comments, said article should not unload. similarly, if browser games or other silliness was ever to onebox or otherwise embed, I would not expect replying to the topic to unload my progress.
after a certain number of posts scrolled the content will stop playing
Only the memory usage remains...
This should be the expected behavior of infiniscroll (and one of the reasons people don't like it).
This, yes. So have an actual unexpected behavior:
- Go to @arantor 's post at http://what.thedailywtf.com/t/why-are-cats-immune-to-chemtrails/2250/63
- Play the video
- Unroll the in-reply-to indicator
I know you will hate me for saying this but using youtube to listen to music INSIDE A FORUM is doing it wrongTM
Filed under: FTFY
[quote=Codlnghorror]I know using A FORUM is doing it wrongTM
Filed Under: FTFTFY
Addendum: Gotta love what happens when you click on the Downarror to show the full post on those quotes! That seems kinda broken!
Gotta love what happens when you click on the Downarror to show the full post on those quotes!
WONTFIX ASDESIGNED for as long as I can remember, Jeff hates nested quoting. Actually I think it was one of the first gripes most people here had with Discourse.
- Open https://www.youtube.com/watch?v=pbyPsI67-YU
- Click a related video
- ORIGINAL VIDEO STOPS PLAYING WHAT THE FUCK
not if you ctrl-click scrub