-
-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update functions.js ignore video previews #2384
Conversation
Yay! @raszpl eventlisteners can apply to previews (we can count how many seconds it plays there too or apply volume if it is on or playback speed) auto-pause /only one video playing can have a sub-option to include previews or not. (generally while a fix can might be the better for most common on the long term, many current user will be used to the current way now or learned to appreciate that) |
'could' if someone rewrote them specifically for it, looking at few now they apply to main video only
the fix fixes current way it was supposed to work. No user switches "Disable video playback on hover" expecting it to break "Pause while I watch a 2nd video" :) |
hi! @raszpl! sorry, came from a different perspective context: While youtube/js&css/extension/www.youtube.com/general/general.js Lines 516 to 530 in 2e850c8
(The given storage. don't consider a hover-previews as a video === true,we could only skip sending the play event ("it-play") if closest('#inline-preview-player') youtube/js&css/web-accessible/www.youtube.com/player.js Lines 32 to 35 in 2e850c8
youtube/js&css/extension/init.js Lines 242 to 244 in 2e850c8
(if that makes / will make any sense)
(hope you like the unrelated commits, re: #2356) |
Yes. The way Im looking at it Video is a proper video with player controls et, and animated thumbnails are Previews. Two bugs about this behavior suggest this is prevailing opinion.
I get video previews in /subscription , and with .44 installed
well :] its called
Arent you thinking about 'Auto-pause while im not in the tab'? That one does resume because it keeps track in playerAutopauseWhenSwitchingTabs this.played_before_blur
"when thats implemented from scratch" :)
as is now Users are not considering hover-previews to be Videos as evidenced by bug reports :)
yes. That will require also sending 'paused' message so background.js can broadcast back "another-video-stopped-playing" to all the tabs. b0024cd 69e301e autoplayDisable doesnt parse properly, no biggie
What are you trying to do here? :) |
Both come with
(While not all users are the same) |
#2225
#2305