Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Webcam video autoloop

    Webcams API
    2
    6
    67
    Loading More Posts
    • 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.
    • Ruairidh Grass
      Ruairidh Grass last edited by

      Hi there,

      First of all thank you very much for making this API, I've had a lot of fun playing around with it.

      I've been using the Webcam API to embed video onto the webapp I'm working on. I have figured out how to autoplay the video in an iframe html tag by adding '?autoplay=1' to the end of the src.

      <iframe>
      

      However, I would like the video to also loop once it has all played. Any way I can do this?

      With other video APIs you can add '&loop=1' to the source but this is not available here.

      Thanks,

      Ruairidh

      Ruairidh Grass 1 Reply Last reply Reply Quote 0
      • Ondřej Šutera
        Ondřej Šutera Administrator last edited by

        Hi @Ruairidh-Grass, I am discussing it with my colleagues from the product team. I will keep you posted.

        1 Reply Last reply Reply Quote 1
        • Ondřej Šutera
          Ondřej Šutera Administrator last edited by

          Hi again @Ruairidh-Grass unfortunately, autoplay or loop of the recording is not supported by our documentation, but it is technically possible, so you need to handle that on your own in the code.

          Ruairidh Grass 1 Reply Last reply Reply Quote 0
          • Ruairidh Grass
            Ruairidh Grass @Ruairidh Grass last edited by

            @Ruairidh-Grass

            1 Reply Last reply Reply Quote 0
            • Ruairidh Grass
              Ruairidh Grass @Ondřej Šutera last edited by

              @Ondřej-Šutera Thanks Ondrej, do you have any idea how it could be implemented in the code?

              Ondřej Šutera 1 Reply Last reply Reply Quote 0
              • Ondřej Šutera
                Ondřej Šutera Administrator @Ruairidh Grass last edited by

                @Ruairidh-Grass I am sorry, but I am not the developer to help you accurately.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                NodeBB & contributors, OSM & contributors, HERE maps
                Terms and Conditions     Privacy Policy