diff options
author | Anton Schubert | 2017-12-22 21:18:13 +0100 |
---|---|---|
committer | MaZderMind | 2018-01-24 23:33:10 +0100 |
commit | 152082d3525c9627c5b1c435ffe3d05807148784 (patch) | |
tree | 157fdcef339a2b0eed5b81f9854a1f9c6af52ac9 /template/assemblies/player/dash.phtml | |
parent | 26158ebc51e19780a69b35f15256c80c836ef27e (diff) |
update clapprio and plugins
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/player/dash.phtml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/template/assemblies/player/dash.phtml b/template/assemblies/player/dash.phtml index 7048006..57f2ddc 100644 --- a/template/assemblies/player/dash.phtml +++ b/template/assemblies/player/dash.phtml @@ -1,4 +1,4 @@ -<script type="text/javascript" src="<?=h($assets)?>clapprio/dash-shaka-playback.js"></script> +<script type="text/javascript" src="<?=h($assets)?>clapprio/dash-shaka-playback.min.js"></script> <script type="text/javascript" src="<?=h($assets)?>clapprio/level-selector.min.js"></script> <script type="text/javascript" src="<?=h($assets)?>clapprio/audio-selector.min.js"></script> @@ -19,8 +19,21 @@ shakaConfiguration: { abr: { defaultBandwidthEstimate: 600000 - }, + } }, + levelSelectorConfig: { + labels: { + 7: 'HD', + 8: 'SD', + 9: 'Slides', + 10: 'HD', + 11: 'SD', + 12: 'Slides', + 13: 'HD', + 14: 'SD', + 15: 'Slides', + } + }, autoPlay: true, parentId: '#player' }); @@ -35,11 +48,4 @@ body.room .player-wrap.tab-content { padding: 0; } -.level_selector[data-level-selector] { - margin-top: 7px; -} -.level_selector[data-level-selector] button, -.level_selector[data-level-selector] li { - font-size: 12px; -} </style> |