Closed mihar-22 closed 3 years ago
I have the same issue using svelte/sapper. Local MP4 is not autoplaying, but YouTube does:
<script>
import { Player, Youtube, DefaultUi } from '@vime/svelte';
export let data;
</script>
{#if (process.browser) }
<Player>
<Youtube videoId="{data}" />
<DefaultUi />
</Player>
{/if}
I'm also seeing this when using with React.
I am also having this issue with Svelte / Sapper.
Same here with Angular
The embeds (YouTube/Vimeo/Dailymotion) seem to autoplay even when it is set to
false
on the demo page. This might be related to the React integration and the fact that some properties are set late, since the React integration can't update properties until one tick later.