Closed J4CKED closed 1 year ago
fixed in beta https://gist.github.com/raingart/1f99edf3158ad6babdd1846a6422a72b
The error is that youtube does not show stop-preview and the plugin blocks playback until the button on the play button is manually activated, the button on the player. But both of these elements are hidden, or rather they are not there.
I don't know if this is a temporary solution from YouTube or a permanent one. Let's wait and see
The beta version does not work.
With the following script + Nova pause spacebar key works - almost perfectly, because you have to click 2 times to start playback. But stopping and resuming is fine. https://greasyfork.org/en/scripts/478857-youtube-spacebar-to-play-pause-videos
The beta it works for me both through a click and the spacebar
After turning off "Video autopause" in Nova spacebar works.
Both of these plugins are mutually exclusive I seem to have taken into account the conflict and "Video autopause" should stop working if "Stop video preload" is enabled
The "Video autopause" plugin is currently broken. I corrected it in the dev version. To combat advertising, Youtube has increased the priority of its own player API and decreased the priority of the standard HTML5-video API
to fix "Video autopause" plugin
replace
this.paused || this.pause()
to
this.paused || movie_player.pauseVideo()
fixed in the new ver.
The spacebar shortcut to stop video has stopped working. I can only resume playback with the spacebar key. Probably it worked fine yesterday.
After deactivating Nova, the spacebar works in both cases.