How do I get youtube to work with iFrame?

0 favourites
  • 4 posts
From the Asset Store
High quality sound effect pack, in the following categories: Garden work, tools
  • Using C3 online version.

    Rumble embeded link works in preview using chrome.

    Youtue embeded link does not work in preview using chrome.

    The iframe displays " refused to connect" with the youtube link.

    Any thoughts?

  • My code is stupid simple to test. There must be a setting I'm missing or some security issue?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You're using the wrong url format. On the Youtube video page, when you click the share button, you need to choose Embed and use that url. The same goes for Vimeo.

    It will look like this...


  • Solved:

    Thanks for the pointer. Was running in circles.

    Just incase anyone else has this issue.

    Youtube embed link example:

    <iframe width="560" height="315" src=


    frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    iFrame: Navagate to: ""

    Vimeo is the same format.

    Rumble format works fine.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)