×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules
32

Request: stop playing video when collapse icon is pressed

submitted by Prairie to TalkDev 2.7 yearsAug 11, 2021 08:29:51 ago (+32/-0)     (TalkDev)

Minor issue: See post linking to video, click little triangle icon on left to expand video inline, start playing video. Now click triangle icon to collapse video. It keeps playing audio.


14 comments block


[ - ] system 5 points 2.7 yearsAug 11, 2021 12:46:03 ago (+5/-0)

This has been fixed. Videos now stop when collapsed.

[ - ] Broc_Liath 1 point 2.7 yearsAug 11, 2021 15:51:04 ago (+1/-0)

Best dev ever <3

[ - ] bobdole9 0 points 2.7 yearsAug 11, 2021 14:48:17 ago (+0/-0)

Appreciated

- Grateful Goat

[ - ] Prairie [op] 0 points 2.7 yearsAug 11, 2021 16:09:10 ago (+0/-0)

And they now auto-play when expanded. Nice!

[ - ] bobdole9 3 points 2.7 yearsAug 11, 2021 10:00:56 ago (+3/-0)

If javascript:

video.stop();

Before collapsing.

[ - ] Splooge 3 points 2.7 yearsAug 11, 2021 10:39:31 ago (+3/-0)

Based codergoat

[ - ] SparklingWiggle 3 points 2.7 yearsAug 11, 2021 11:06:15 ago (+3/-0)

If jewascript:

video.stop((()));

Before collapsing

[ - ] Prairie [op] 0 points 2.7 yearsAug 11, 2021 11:03:39 ago (+0/-0)

I'd assume page would just remove video element, which will stop and unload it no matter how the internal player of the linked site works.

[ - ] bobdole9 1 point 2.7 yearsAug 11, 2021 11:43:54 ago (+1/-0)

Removing DOM elements can get annoying...versus stop and play just toggles the video, otherwise a "restart" will happen upon closing a video, removing the element, then reinsert and play.

[ - ] shitface9000 1 point 2.7 yearsAug 11, 2021 11:58:42 ago (+1/-0)

yes, but how does it scale?

[ - ] Broc_Liath 2 points 2.7 yearsAug 11, 2021 09:48:47 ago (+2/-0)

Seconded, been annoying me a few days now.

[ - ] shitface9000 1 point 2.7 yearsAug 11, 2021 11:59:18 ago (+1/-0)

get in line bro. you're not the second.

[ - ] heygeorge 0 points 2.7 yearsAug 11, 2021 10:03:31 ago (+0/-0)

This would be nice. Also for comment previews, I’m not getting forced line breaks any longer, so I have to click into a thread to read it.

[ - ] Prairie [op] 0 points 2.7 yearsAug 11, 2021 11:04:28 ago (+0/-0)

I noticed this too. Might need a separate topic.