Video Modal not Connecting to Youtube/Vimeo...

1 reply · opened Feb 6, 2024

AadamflemingFeb 6, 2024

Hi there, I am using the code to open up a model and play an embedded youtube video, however I am getting an error saying the video can't be connected to (see screenshot)

Here is the code:

Watch Showreel

Also usign this code as an alternative but it also then gives an error saying 'youtube failed to connect'...

<div class="modal1 mfp-hide" id="myModal1">
<div class="block mx-auto" style="background-color: #000; max-width: 80%">
<div class="text-center" style="padding: 0px;">
<iframe width="1920" height="1080" src="https://youtu.be/A9mIeVPYgz0" frameborder="0" allowfullscreen></iframe>

I've tried with both youtube and vimeo links and getting errors both times.

SSemicolon WebSTAFFFeb 9, 2024

Hello,

We have just checked it out and it appears to be working fine for us: https://canvastemplate.com/lightbox.html .

Make sure that you are using this Format for the YouTube Video: https://www.youtube.com/watch?v=A9mIeVPYgz0 . For Vimeo, make sure that the Video is shareable and allowed to be embedded.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard