Open beCe3-veqnor opened 1 month ago
hovering over video triggers creation of video preview, extension somehow assumes its a real video playing.
hi! @beCe3-veqnor sounds like you are you using the feature
player:auto-pause while i'm not in the tab
or pause while i play a 2nd video
real video
can actually navigate the whole video in those previews, if we mean the same thing
both autoplayDisable() and https://github.com/code-charity/youtube/blob/85bf12458d10dbc15ab4d8da057da01b5d8e152d/js%26css/extension/www.youtube.com/general/general.js#L144-L152 dont even try to detect video previews
place where fix should go is autoplayDisable()
https://github.com/code-charity/youtube/blob/85bf12458d10dbc15ab4d8da057da01b5d8e152d/js%26css/web-accessible/www.youtube.com/player.js#L31-L35
only send it-play message when real video is playing, ignoring video previews.
even earlier in https://github.com/code-charity/youtube/blob/2bbf665a08704b5aeba467c4e55d9a940a9c87b3/js%26css/web-accessible/functions.js#L325-L330
detect if video preview and skip straight to
https://github.com/code-charity/youtube/blob/2bbf665a08704b5aeba467c4e55d9a940a9c87b3/js%26css/web-accessible/functions.js#L344
1. Bug Report: