Coder Social home page Coder Social logo

Comments (5)

henrygd avatar henrygd commented on July 17, 2024 1

Code change. Just needed to add an extra allow attribute to the iframe as outlined by google a while back. Something I should have done earlier, but apparently wasn't enforced for youtube until recently.

I'll update and release w/ the fix today or tomorrow. Thanks for bringing this to attention.

<!-- autoplay no longer allowed -->
<iframe src="https://cross-origin.com/myvideo" allowfullscreen>

<!-- autoplay allowed -->
<iframe src="https://cross-origin.com/myvideo" allowfullscreen allow="autoplay; fullscreen">

from bigpicture.

henrygd avatar henrygd commented on July 17, 2024

Would you mind trying this and letting me know if it resolves the issue?

https://bptest.surge.sh

from bigpicture.

johnaschroeder avatar johnaschroeder commented on July 17, 2024

Yep, youtube is now a single click to play. Thanks for jumping on that, can you share the solution? The second video with youtube in an iframe looks like the same iframeSrc as i have. Code change?

from bigpicture.

johnaschroeder avatar johnaschroeder commented on July 17, 2024

Much appreciated!

from bigpicture.

henrygd avatar henrygd commented on July 17, 2024

Released 2.1.1 which should fix this issue. Let me know if you run into it again.

from bigpicture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.