File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 2323 < video id ="angel-one-drm " width =600 height =300 class ="video-js vjs-default-skin " controls > </ video >
2424 < p > Livesim</ p >
2525 < video id ="live-player " width =600 height =300 class ="video-js vjs-default-skin " controls > </ video >
26+ < p > Livesim - multi-subs</ p >
27+ < video id ="live-subs-player " width =600 height =300 class ="video-js vjs-default-skin " controls > </ video >
2628 < script src ="node_modules/video.js/dist/video.js "> </ script >
2729 < script src ="node_modules/dashjs/dist/dash.all.debug.js "> </ script >
2830 < script src ="dist/videojs-dash.js "> </ script >
3941 playerOcean = videojs ( 'player-ocean' ) ,
4042 angelOne = videojs ( 'angel-one' ) ,
4143 angelOneDrm = videojs ( 'angel-one-drm' ) ,
42- livePlayer = videojs ( 'live-player' ) ;
44+ livePlayer = videojs ( 'live-player' ) ,
45+ liveSubsPlayer = videojs ( 'live-subs-player' , {
46+ html5 : {
47+ dash : {
48+ useTTML : true
49+ }
50+ }
51+ } ) ;
4352
4453 player . ready ( function ( ) {
4554 player . src ( {
8392 type : 'application/dash+xml'
8493 } ) ;
8594 } ) ;
95+
96+ liveSubsPlayer . ready ( function ( ) {
97+ liveSubsPlayer . src ( {
98+ src : 'https://livesim.dashif.org/dash/vod/testpic_2s/multi_subs.mpd' ,
99+ type : 'application/dash+xml'
100+ } ) ;
101+ } ) ;
86102 </ script >
87103</ body >
88104
You can’t perform that action at this time.
0 commit comments