support media player api

This commit is contained in:
Fornax committed 2020-11-18 23:04:01 +01:00
1 parent d8236ce0f9
commit fd2a9234ad
3 files changed
+109 -26

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export let state;
src={fs_get_file_url(state.bucket.id, state.base.path)}
autoplay="autoplay"
controls="controls"
on:ended={() => { dispatch("next") }}>
on:ended={() => { dispatch("open_sibling", 1) }}>
<track kind="captions"/>
</video>
</div>