aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/player/dash.phtml36
1 files changed, 20 insertions, 16 deletions
diff --git a/template/assemblies/player/dash.phtml b/template/assemblies/player/dash.phtml
index 57f2ddc..9ca654b 100644
--- a/template/assemblies/player/dash.phtml
+++ b/template/assemblies/player/dash.phtml
@@ -17,23 +17,27 @@
width: "100%",
plugins: [DashShakaPlayback, LevelSelector, AudioSelector],
shakaConfiguration: {
- abr: {
- defaultBandwidthEstimate: 600000
- }
+ abr: {
+ defaultBandwidthEstimate: 600000
+ },
+ streaming: {
+ rebufferingGoal: 12,
+ jumpLargeGaps: true
+ }
+ },
+ levelSelectorConfig: {
+ labels: {
+ 7: 'HD',
+ 8: 'SD',
+ 9: 'Slides',
+ 10: 'HD',
+ 11: 'SD',
+ 12: 'Slides',
+ 13: 'HD',
+ 14: 'SD',
+ 15: 'Slides',
+ }
},
- levelSelectorConfig: {
- labels: {
- 7: 'HD',
- 8: 'SD',
- 9: 'Slides',
- 10: 'HD',
- 11: 'SD',
- 12: 'Slides',
- 13: 'HD',
- 14: 'SD',
- 15: 'Slides',
- }
- },
autoPlay: true,
parentId: '#player'
});