• Resolved Tim Burkart

    (@bigmoxy)


    I’m upgrading an old site that has a lot of YouTube videos as iframes. The old iframe code does not display the video. Is there a way to convert them enmasse to YouTube blocks?

    Here is an example of the old iframe code:

    <iframe src="https://www.youtube.com/embed/KoBXfD2oHRg" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

Viewing 2 replies - 1 through 2 (of 2 total)
  • threadi

    (@threadi)

    I just assume the website is protected by SSL? Then the embedded video must also be accessed via SSL. So just change the URL from https:// to https://. Like this:

    <iframe src="https://www.youtube.com/embed/KoBXfD2oHRg" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

    Thread Starter Tim Burkart

    (@bigmoxy)

    Worked perfectly. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with old iframe code’ is closed to new replies.