Dear fellow Moodlers.
This is a problem with embedding videos we have encountered in Moodle 1.9.7.
Until recently we have used YouTube videos in our course. We embedded video via the embed code copied from YouTube and inserted into the html editor. No problems whatsoever.
Now we are using a different video host service. They provide an embed code looking like this:
<script type="text/javascript" src="http://player.cdn.vioapi.com/v5.5/viostream.player.js"></script>
<script type="text/javascript" src="http://player.cdn.vioapi.com/v5.5/JSEmbed.axd?mediaId=de619033-6809-4efa-be12-0804dba18483">options={AutoRewind:false,AutoStart:false,PlayerSelect:false,Player:"flv",Speed:"high"}</script>
I am not very knowledgeable about the finer details of html scripting. This code changes in Moodle for some reason. And the embedded video does not play properly.
The host provider's response was:
"....It looks as though the embed code has been rendered out from the second script and then embedded. This will result in the embed only working in certain browsers. [..] If you view the source of the page that the embed code is in, you should see the original code , currently it appears as the rendered HTML code.[...]It does look like the javascript is still being evaluated by the CMS even though you are entering the scripts via the HTML source editor. ....."
I don't what to do next. Any help would be greatly appreciated.
Cheers from Australia, Gitta