Video Speed Buttons

Add speed buttons to any HTML5 <video> element. Comes with a loader for YouTube and Vimeo

< Отзив за Video Speed Buttons

Въпрос/коментар

§
Публикуван на: 03.03.2020

Go to the Default speed on opening related video

I've modified the script here to have DEFAULT_SPEED depend on the channel of the Youtube video. The problem is, when I click on a related video (without refreshing the page) the player keeps the last selected speed. I would like it to select the default again everytime.

I tried replacing "const DEFAULT_SPEED" with a function call. But wasn't enough. https://pastebin.com/GQ6aye4i

How could I achieve that? Thanks.

§
Публикуван на: 06.05.2020

Would also like to see return to default speed, author?

Публикувайте отговор

Влезте, за да публикувате отговор.