aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/js')
-rw-r--r--demo/src/js/main.js22
1 files changed, 2 insertions, 20 deletions
diff --git a/demo/src/js/main.js b/demo/src/js/main.js
index 981f691a..bc2ea0aa 100644
--- a/demo/src/js/main.js
+++ b/demo/src/js/main.js
@@ -30,19 +30,7 @@
captions: {
defaultActive: true,
},
- controls: [
- 'play-large',
- 'play',
- 'progress',
- 'current-time',
- 'mute',
- 'volume',
- 'captions',
- 'settings',
- 'fullscreen',
- 'pip',
- 'airplay',
- ],
+ controls: ['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'captions', 'settings', 'fullscreen', 'pip', 'airplay'],
});
// Expose for testing
@@ -67,13 +55,7 @@
newSource(type);
if (historySupport) {
- history.pushState(
- {
- type: type,
- },
- '',
- '#' + type
- );
+ history.pushState({ type: type }, '', '#' + type);
}
});
});