Forum Discussion

  • autoplay on vimeo/youtube is only working, if the user has clicked before on the page*

    If your video is the first slide of the course, you need to make sure that the storyline shows the "Play" button before it starts (for example, with an unused audio in a layer)

    just tested again on local webserver and scorm cloud**

     

    * it's like autoplay of audio/video of "normal" audio/video

    ** important: on Review 360 autoplay is not possible on Chrome (the website is misconfigured)

    • giovannifant074's avatar
      giovannifant074
      Community Member

      Hi Jürgen,

      I tried your solution by inserting a silent audio and it works perfectly.
      I also inserted a transparent rectangle above the video layer, which lasts as long as the video. In this way the student cannot freeze the video until it is finished.

      Works well

      Thank

      Gianni 

  • Nedim's avatar
    Nedim
    Community Member

    Some modern browsers like chrome will not auto-play a video if it's not muted. The general rule of many browsers is that a user must opt-in to certain actions before they can happen. Check the attached photo to see the reason why. You need to add "muted" attribute to get your video to autoplay.

    <iframe src="https://player.vimeo.com/video/721069858?h=eeb08462f5&muted=1&autoplay=1&title=0&byline=0&portrait=0" width="640" height="272" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>

    • giovannifant074's avatar
      giovannifant074
      Community Member

      Thanks Nedim,
      The solution of Jürgen allows me to have the audio of the video in autoplay