vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

autoplay issue in Angular #275

Open NetMajom opened 2 years ago

NetMajom commented 2 years ago

Autoplay turned of in vime Vimeo support, but not working, its automatically start the video if the currentTime set.

<vm-player>
   <vm-vimeo cookies="true" [autoplay]="false" [videoId]="vimeoVideoId"></vm-vimeo>
   ...

You can reproduce the issue, if follow the steps:

  1. Setup the vime player with Vimeo support
  2. Set the currenttime property in vmReady event to any time of your video
  3. its jumps to that time, and start automatically

if pause the video after current time is set, its not pausing, automatically start to play the video