Added MPEG-DASH support (#2), workaround for #5

This commit is contained in:
Shiny Nematoda 2022-07-30 13:14:48 +00:00
parent 7273fcabc8
commit dc969e44ee
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
11 changed files with 522 additions and 177 deletions

View file

@ -11,7 +11,7 @@ import { usePlayer } from '../stores/player.js';
const player = usePlayer(),
store = useStore();
const emit = defineEmits(['vol', 'save', 'change-time']),
const emit = defineEmits(['save']),
showme = reactive({
menu: false,
pl: false,
@ -83,7 +83,10 @@ function Save() {
type="range"
name="statusbar-progress"
max="100"
@input="$emit('change-time', $event.target.value)" />
@input="
player.state.currentTime =
($event.target.value / 100) * player.state.duration
" />
</div>
</div>