A video cannot be inserted from this embed code.

Update: I still have SL1 on my machine so I copied a code SL2 rejected, and SL1 took it with no problem.  I really need to figure this out.

----

Can anyone tell me what the requirements are for an embed code? We're using the same videos on the same servers that we've been using for years. In SL1, no worries--we used the embed codes from our media server and had no trouble. Before we switched to SL2, I tested out the video feature to make sure we could embed the same way we always did, with no trouble. As of a couple of weeks ago, I could.

 

Here's an example of a video I embedded a couple of weeks ago that worked fine:

 

<iframe src="https://w.kontiki.com/laquinta/player/2f1eddaf-fd6f-4d0e-886e-42a0d0b49df6?params=MD10cnVlOzE9NTM7MTI9dHJ1ZQ==" style="border:none;width:100%;height:100%" scrolling='no' allowfullscreen></iframe>

 

NOW, when i go and try THAT VERY code, I get this message:

A video cannot be inserted from this embed code. Verify that the embed code is correct and try again. 

What changed from a couple of weeks ago? I recommended SL2 and we upgraded based on many tests, including embedded video. There is simply no reason it shouldn't work today.

 

 

 

 

 

 

 

 

130 Replies
Jayson Cooke

Hi Ashley, 

 

Im not sure you all have updated this thread in the past 17 days or so. But, I am still experiencing the same error when trying to add an embed code from youtube. Is there I am missing from earlier posts?

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/QEBpK-1mZVA?rel=0" frameborder="0" allowfullscreen></iframe>

 

Jayson

Joe Stoup
Jayson Cooke

Hi Ashley, 

 

Im not sure you all have updated this thread in the past 17 days or so. But, I am still experiencing the same error when trying to add an embed code from youtube. Is there I am missing from earlier posts?

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/QEBpK-1mZVA?rel=0" frameborder="0" allowfullscreen></iframe>

 

Jayson

Hi Jayson,

Try this:

<iframe Width=560 Height=315 src="https://www.youtube.com/embed/QEBpK-1mZVA?rel=0"></iframe>

Let me know if that works. You may be experiencing the same double quotations that I did. Just so you don't have to go back and look:

When I input the iframe width and height, I have to leave off the quotations from the numbers because Storyline 2 is auto-entering them for some reason on my install.

Joe

Janine Butcher

I have exactly the same problem using Presenter '13.  When I click on "Insert" Presenter adds ="" after allowfullscreen and I get the "video cannot be inserted from this embed code" error. I try to remove the unwanted ="" and it is just added in again when in click on Insert.   Any idea when this will be fixed and are you aware that it happens in Presenter too?

 

Janine Butcher

The embed code I am using is :

<iframe width="560" height="315" src="https://www.youtube.com/embed/j4o2PDwKdcA?list=RDj4o2PDwKdcA" frameborder="0" allowfullscreen></iframe> and after Presenter changes it

<iframe width="560" height="315" src="https://www.youtube.com/embed/j4o2PDwKdcA?list=RDj4o2PDwKdcA" frameborder="0" allowfullscreen=''></iframe>

 

Mary Schoeller

I’m having the same issue in SL2. Any embed code I copy from YouTube gives me an error when using the Insert Video from Website option. For example, here is the original embed code from YouTube: <iframe width="560" height="315" src="https://www.youtube.com/embed/Brg3RyZ0_To?rel=0" frameborder="0" allowfullscreen></iframe>

When I copy and paste this into SL2 and click Insert, it changes it to: <iframe width="560" height="315" src="https://www.youtube.com/embed/Brg3RyZ0_To?rel=0" frameborder="0" allowfullscreen=""></iframe>
And then I get the “A video cannot be inserted from this embed code.” error message.

I tried the suggestion above about removing the quotes from around the width and height numbers, and it still did not work. It changes it again to the same incorrect link above.

I did try in SL1 and the same link worked absolutely fine in there. I had already started my project in SL2, but guess I could use SL1 instead if there is not a resolution to this issue. I didn't see a clear cut resolution in this thread.?

Thanks,

Mary

Patricia Turner

I wonder if anyone has ever embedded Guidespark.com videos? We want to use one of them in a course, but because Guidespark owns the intellectual property, they will only give us embed codes, not the actual files. The embed codes they provided don't work, and my usual workaround doesn't work either. They say they'll work with us for a solution but if someone already has that solution, I'd love to hear it!

Patricia Turner

Hi Ashley,

Thanks for your message! I'll also try the new update and see what it does, but for now, here goes:

This is what I get from my Kontiki administrator:

<iframe src="https://laquinta.mc.kontiki.com/global0/player?moid=7ee7142b-a126-45c9-9162-9f89163dc458&public-compatible=true&autoPlay=true" style="border:none;width:100%;height:100%" scrolling="no" allowfullscreen></iframe>

Here's what I actually embed into SL2 to make that work:

<iframe width="674" height="374" src="https://laquinta.mc.kontiki.com/global0/player?moid=7ee7142b-a126-45c9-9162-9f89163dc458&public-compatible=true&autoPlay=true" frameborder="0" allowfullscreen=""></iframe>

Here's what I get from GuideSpark:

Embed Code:

<script type="text/javascript" src="https://a.guidespark.com/embed/guidespark-0.1.min.js"></script>

<div class="video gs-video" data-gs-id="3464" data-account="laquinta" data-width="780px" data-height="585px"></div>

Alternate Embed Code:

<iframe src="https://laquinta.a.guidespark.com/videos/3464?embed=true&wide=true" frameborder="0"  height="261" allowfullscreen></iframe>

 

 

I can't plop any part of any of GuideSpark's codes into my little formula to make anything work.

Thanks again!

 

Ashley Terwilliger-Pollard

Hi Patricia, 

I had a colleague take a look at this, as it's all a bit Greek to me, but he shared:

The code under Alternate Embed Code is close, but it's missing the width attribute.  Assuming the video is a 4/3 ratio, adding something like width="348" works, but she should really check with the person who provided the code for the proper width value.  So, this is what seemed to work for me:  <iframe src="https://laquinta.a.guidespark.com/videos/3464?embed=true&wide=true" frameborder="0" height="261" width="348" allowfullscreen=""></iframe>

Hope that helps - and feel free to keep us posted on how it works with Update 5. 

Patricia Turner

Hi Ashley! It worked, in a way, but I think that's exactly what I tried yesterday. So today I got the actual video dimensions (788x588) and tried that.

What happens is no matter what dimensions I enter, the video doesn't seem to fit in our course format. There are scroll bars. So it plays, but you have to scroll to center the video in the screen. I think at this point I need to go back to guidespark and get them to change the embed code not to include the extra space at top and bottom and the guidespark player.

Thanks for your help. This is definitely a step forward and we're almost there!