Embedding a video
May 19, 2014
I'm trying to use the embed code to insert a video from a website. After pasting in the code I get the message "Storyline cannot insert a video from this embed code. Verify that the embed code is correct and then try again."
The code I'm using is:
<div id="showAndSharePlayerC-b591c333-1416-464a-ac26-98859c8ff97d:1"></div><script type="text/javascript" src="){document.getElementById("showAndSharePlayerC-b591c333-1416-464a-ac26-98859c8ff97d:1").innerHTML=dmsEmbed.getSimplePlayer("C-b591c333-1416-464a-ac26-98859c8ff97d:1","https://bvlcesns2.conocophillips.net/vportal/VideoPlayer.jsp?ccsid=C-b591c333-1416-464a-ac26-98859c8ff97d:1">https://bvlcesns2.conocophillips.net/vportal/scripts/videoplayer/DmsEmbedLib.js"></script><script>if(document.getElementById("showAndSharePlayerC-b591c333-1416-464a-ac26-98859c8ff97d:1")){document.getElementById("showAndSharePlayerC-b591c333-1416-464a-ac26-98859c8ff97d:1").innerHTML=dmsEmbed.getSimplePlayer("C-b591c333-1416-464a-ac26-98859c8ff97d:1","https://bvlcesns2.conocophillips.net/vportal/VideoPlayer.jsp?ccsid=C-b591c333-1416-464a-ac26-98859c8ff97d:1#", "false", 480 )}else{document.write(dmsEmbed.getSimplePlayer("C-b591c333-1416-464a-ac26-98859c8ff97d:1","https://bvlcesns2.conocophillips.net/vportal/VideoPlayer.jsp?ccsid=C-b591c333-1416-464a-ac26-98859c8ff97d:1#","false",480,"false"))}</script>
Can you tell me where I'm going wrong;
Thanks
5 Replies
Hi Felicity and welcome to Heroes!
Any chance you can share a link to the website where this video is located so that I can try pulling out the embed code myself? How it looks here in the forums is in such way that it doesn't work for me either.
Hi Felicity,
Are you able to use other embed codes in your Storyline files - such as from Youtube or even Screenr? That may help narrow down something with that particular embed code and how it behaves.
Felicity, the code you are using includes html tags, like "div" and "script". That won't be recognized as embed code. Either ask your webmaster/IT person to provide a valid embed code or try cutting&pasting the code you currently have into an HTML page and then display this page in a Storyline web object.
This discussion is closed. You can start a new discussion or contact Articulate Support.