kmoskwiak / videojs-resolution-switcher

Resolution switcher adds the ability to select the video quality in video.js player.
https://kmoskwiak.github.io/videojs-resolution-switcher/
Other
402 stars 244 forks source link

for version 7.0? #124

Open surikat1978 opened 5 years ago

surikat1978 commented 5 years ago

Can I wait to fix for version 7.0? Thanks advance!

ahmadshc commented 5 years ago

yes, please sync with latest version 7.3.0 thank you

beznosd commented 5 years ago

This solution works well for 7.3.0 too https://github.com/kmoskwiak/videojs-resolution-switcher/issues/88#issuecomment-311984273

patrikw1 commented 5 years ago

@beznosd I did install forked repo, but still doesnt work for me, aby update on this? I use video.js 7.1.0

surikat1978 commented 5 years ago

@beznosd

It also does not work for version 7.3.0 I checked on all browsers. And what is interesting is that it does not work even for the 6.13.0 version ?! Maybe I'm doing something wrong? On version of player 5.20.5 works fine.

<video width="640" height="360" style='display:block;margin-left:auto;margin-right:auto;' id="player1" class="video-js vjs-default-skin" poster="http://site.net/poster_1.jpg" preload="none" controls data-setup='{ "nativeControlsForTouch" : false, "html5" : { "nativeTextTracks" : true },"playbackRates" : [0.7, 0.8, 0.9, 1, 1.2, 1.5]}'>
<source src='http://site.net/file_1.mp4' type='video/mp4' res='480' label='480p'>
<source src='http://site.net/file_2.mp4' type='video/mp4' res='720' label='720p'></video>
<script>
videojs('player1').videoJsResolutionSwitcher()
</script>
mzulkiakbari commented 4 years ago

This code for Videojs Version 7+

i am fixing.

https://github.com/bariartz/videojs-resolution-switcher-for-videojs-version-7/

sorry for my bad english.