Open konrad-pawlus opened 3 years ago
Vime version: 5.0.33
Provider:
[*] Video
Current behavior:
Duration in vmPlaybackReady id undefinied when used in Svelte.
Expected behavior:
Duration to be length of movie in seconds.
Steps to reproduce:
Related code:
<Player on:vmPlaybackReady={playbackReady} bind:this={videoPlayer}> <Video poster=""> <source data-src="{mediaServeUrl}" type="{mediaFileType}"/> </Video> <DefaultUi> <!-- We can place our own UI components here to extend the default UI. --> </DefaultUi> </Player> const playbackReady = () => { console.log('Video player: ' + videoPlayer.duration, videoPlayer); };
Other information:
Svelte version: 3.42.1
Bug Report
Vime version: 5.0.33
Provider:
[*] Video
Current behavior:
Duration in vmPlaybackReady id undefinied when used in Svelte.
Expected behavior:
Duration to be length of movie in seconds.
Steps to reproduce:
Related code:
Other information:
Svelte version: 3.42.1