This commit is contained in:
Ginger Wong 2020-09-27 23:04:51 -07:00
commit 1a477de89a

View file

@ -11,13 +11,18 @@ const VIDEO_SRC = {
}; };
const VIDEO_OPTIONS = { const VIDEO_OPTIONS = {
autoplay: false, autoplay: false,
liveui: true, // try this liveui: true,
preload: 'auto', preload: 'auto',
controlBar: {
progressControl: {
seekBar: false,
},
},
html5: { html5: {
vhs: { vhs: {
// used to select the lowest bitrate playlist initially. This helps to decrease playback start time. This setting is false by default. // used to select the lowest bitrate playlist initially. This helps to decrease playback start time. This setting is false by default.
enableLowInitialPlaylist: true, enableLowInitialPlaylist: true,
} },
}, },
liveTracker: { liveTracker: {
trackingThreshold: 0, trackingThreshold: 0,