A video cannot be inserted from this embed code.
Oct 23, 2014
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
Hi Que,
Could you share a sample link to a video you're trying to embed or a copy of the .story file? You'll want to ensure you're following the steps here to insert a web object, and these directions are specific to YouTube.
Hi Ashely,
Managed to sort it out, all working now.
Thanks
Que
Thanks Que - and if it was something worth sharing here for other users, please feel free to let us know what the issue was. I know it's been a popular topic recently, especially with Google's change to the API.
I've been able to successfully embed videos as web objects and they seem to work fine if I publish as html5; however, many Storyline users at my university are deploying their projects via our Learning Management System, BlackBoard Learn. I haven't had any success yet viewing an embedded video after publishing a project as a SCORM package and uploading it to BlackBoard - has anyone been able to do this? I get a blank screen for those slides (the rest are fine!).
Hi Fiona,
There are some known reasons why videos may not work when uploaded to a server or LMS as described here. You also mentioned publishing as HTML5? Are you saying when you publish as Flash only, the videos won't play for you as well? Or that when viewing the Flash output they don't play for anyone? Please let us know if you are able to look into those items mentioned and if you continue to have difficulty.
Hi Ashley,
to be honest I didn't try publishing as Flash only. I published as HTML 5 and then as a SCORM package to upload to Blackboard. I will try Flash only and see whether it 'plays nice' with Blackboard, but there's still going to be an issue with non-Flash-compatible devices.
On the other hand, I found that a video from Vimeo still worked perfectly using the old embed method!
Hi Fiona,
You may also want to try uploading it to SCORM Cloud as it's an industry standard for testing SCORM content so that'll help you determine if there is an issue with the LMS or the content. If things are still not playing correctly at SCORM Cloud we'll be happy to take a look. The directions here will walk you through testing it at SCORM Cloud.
Please keep us posted as you continue testing.
So after 5 pages of back and forth the reason for the error is YouTube changed the way embed videos and SL2 not being able to accommodate. Would have been nice to know in the error message that pops up in the program rather than spending hours trying to problem solve, then sorting thru pages of chatter.
Hi Ashley - I am getting the same error code everyone describes here and am using Storyline 2. Below is the embed code. Can you help me? Thanks.
<iframe width="640" height="360" src="https://www.youtube.com/embed/NKt3YNIxVkk?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>
Jennifer, It's youtube. You cannot use youtube embedded videos with SL2. I put my videos on OneDrive and embedded them that way. Works without issue.
Thanks. So would I embed it in OneDrive and then Embed it in Storyline? I don't have the original videos that is why I was embedding them.
I am using our own videos that we use for multiple courses, so we post them on OneDrive for sharing. That way if updated, it is updated on all the courses; saving us from changing the video in each and every course. If you are just showing other people's videos on youtube, you will need to display it as a Web Object in SL2 and not as an embedded video.
Thanks I was reading that regarding Web Object but then I saw that it doesn't work when running in a LMS or Blackboard which is what the company wants to do. Thanks anyway for your help.
Hi Jennifer,
You'll see the information here in regards to the YouTube videos. I'm not sure where you saw that it didn't work in an LMS, but if it's not working in Blackboard you may want to reach out to them regarding their support for web objects - and look at testing it in SCORM Cloud which is a great testing environment for SCORM out.
I am currently building a course in SL2 and am having the same problem. This is the embed code I'm using:
<iframe width="560" height="315" src="https://www.youtube.com/embed/W7L7eoO-8dc" frameborder="0" allowfullscreen></iframe>
Is there any known fix to this issue?
Hi Adrienne!
If you attempt to add a YouTube video using the Video from Website feature, you'll see this error:
As of May 2015, Google no longer allows YouTube videos to be embedded in this manner. However, YouTube videos in existing courses will continue to work.
You can still add YouTube videos to new projects using web objects as described above, and they'll work in Flash, HTML5, and Articulate Mobile Player output.
Adrienne, don't use YouTube. Storyline2 has not update their code to allow for embedding that way. If it is your video, post it in OneDrive, Google Drive, Vimeo, or similar service and then embed it.
Hello, I have the same problem. A random youtube clip that can not be inserted. Although I have upgraded to the latest version this week. Any tips on how to solve this?
Ilse
Hi Ilse,
Have you followed the steps here to insert a Youtube video as a web object?
This baffles me, you say Google no longer allows video to be embedded in this way but it can still be done in SL1 !!!!!!
Does this not mean that SL2 is the barrier?
Hi Dom,
Google changed how the YouTube API worked and therefore you'll see that error message as detailed here associated with newer videos and how it works in Storyline 2. Youtube videos in existing courses, such as those created earlier in Storyline 1 should still work.
Thank you ! this works fine !
iLse
Sent from my iPad
Happy to hear it Ilse! Thanks for that update.
Hi All,
It's quite frustrating not being able preview web objects in ASL 2. Are the any plans to change this?
Michael.
Hi Michael!
I'm not aware of any plans to change this functionality as many of the items not available during preview are due to possible security restrictions.
This discussion is closed. You can start a new discussion or contact Articulate Support.