MetaCDN / videojs-shaka-player

Shaka Player playback technology for Video.js
Other
42 stars 22 forks source link

videojs 6 support? #22

Open kocoten1992 opened 6 years ago

kocoten1992 commented 6 years ago

videojs 6 is out, when I tried upgrade it, it broken

horasikus commented 6 years ago

It works with videojs 6.2.4 if you modify the way to get the html5 tech. Change: var Html5 = videojs.getComponent('Html5'); by var Html5 = videojs.getTech('Html5'); also if you want to use the latest shaka player change if (videoTracks[i].type == "video") { by if (videoTracks[i].videoCodec) {

romgen commented 5 years ago

This patches should be merged!