Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Vimeo autoplay and loop does not work ;(

Vimeo autoplay and loop does not work ;(

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 738 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    Markus
    wrote on last edited by Markus
    #1

    Hey guys,

    for a client-website I wanted insert vimeo videos with "autoplay"... https://vimeo.com/349093088 But it does not work ;(

    A HTML code with the vimeo auto function unfortunately also does not work, the same result. Only the MP4 files work with autoplay.

    (Would it also be possible to insert vimeo files into cover options or into intro one day... that would be awesome)

    Best and thx!!!

    Bildschirmfoto 2021-12-14 um 19.56.25.png

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear @Markus

      Thank you for the Bug report 🌝
      I believe this is due to Modern browser laws and not Lay Theme. Modern browsers will not allow autoplay if there is sound. This was implemented i think in 2011-14? (unsure exactly)

      When adding the Vimeo +more - HTML you need to add some extra muted parameters to get it to work.


      Here for example:

      Unmuted (autoplay is cancelled in browser)

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

      Muted - Now autoplays in browser

        <iframe id="vimeo_player" src="https://player.vimeo.com/video/349093088?autoplay=1&loop=1&autopause=0&muted=1" width="640" height="360" frameborder="0" muted webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
      
      

      You can see the result in action here on a test-page:

      https://rickei3.dreamhosters.com/vimeo-autoplay-embed-bug/

      &Muted=1 is added to the src and also muted is added on its own near the end.

      A little tricky as i cant see any muted option for Vimeo when "share"'ing the embed... Sorry that its a bit difficult.

      Does this help Markus or wont suit your needs?


      "(Would it also be possible to insert vimeo files into cover options or into intro one day... that would be awesome)"

      Added to the development notes ✅ 🌝


      Talk soon & best wishes
      Richard
      1 Reply Last reply
      0
      • M
        M
        Markus
        wrote on last edited by
        #3

        Hey @Richard,

        thank you very much... I understand. Thank you for the detailed answer. Pitty, but you helped me a lot! :)

        Best and a nice pre-christmas time!

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Thanks @Markus have a wonderful christmas too! 🌻

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search