Darth Vader
Darth Vader
This is most important hls setting in any player. For this reason most people have to use jwplayer. I want to use and support this player but our all items...
You've to find youtube link and change it to embed specific time start model Basic link: https://youtu.be/RyW-Prl_9R8?t=423 Change to: https://www.youtube-nocookie.com/embed/RyW-Prl_9R8?autoplay=1&start=423
``` const player = jwplayer("#player"); player.on('ready', () => { const rewind = playerContainer.querySelector('.jw-display-icon-rewind'); const rewDiv = $(rewind).find(".jw-icon-rewind").clone(); $(rewDiv).addClass("forward").css("transform","scaleX(-1)").attr("aria-label","Forward 10 Seconds").prependTo($(playerContainer).find('.jw-display-icon-next')); $(playerContainer).find('.jw-display-icon-next .jw-icon-next').hide(); const rewindS = playerContainer.querySelector('.jw-button-container'); const $rew2Div = $(rewindS).find(".jw-icon-rewind");...
> I've ported the snippet above to vanilla js, used a more semantic variable names and cloned the icon-rewind-container instead of only the icon itself which seemed more accurate. >...