Open tusx opened 4 months ago
This has me stumped. YouTube has to play the video. Perhaps they do it before the event listener is set?
what im thinking is to check if the youtube play button is visible. click it to make video play. and then set the playback speed.
in earlier versions i was just waiting 1 sec and then clicking the play button. this way it bypass.
I'm not sure how will this work when the video is autoplayed by youtube.
i will try some hacks to see if something can be done
Alright! It's just weird that the current implementation doesn't work
on_video_played for some reason does not detect when the player is started for the first time. the function detects correctly when the video is paused and then payed again.