Hi there
Our College has recently started to use ClickView® to embed and stream video and TV media through our Moodle. We use Moodle1.9.7 for the College and Moodle2.0.3 for external projects for the College.
Moodle1 is fine, but Moodle2 has problems with embedding ClickView® video.
Moodle1 can use the embed code such as:
<script src="http://webplayer.clickview.co.uk/e.aspx?p=O8Hv"></script>
to embed and play the video in popup in Webpage or Book resource. Although it does add its own messy <iframe> script, such as:
<iframe height="472" marginheight="0" src="http://webplayer.clickview.co.uk/e.aspx?QTcD1POEh2JnU9MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwJmE9VHJ1ZSZjPVRydWUmcz1UcnVlJnc9ODQwJmg9NDcyJnJ0PVRydWUmYmN2PVRydWUmYmk9VHJ1ZSZiYz1UcnVlJmJmPVRydWUmbGJnPUZGMDAwMDAwJmVjPTAmdj0mZT1GYWxzZQ" frameborder="0" width="840" marginwidth="0" scrolling="no"></iframe>
However, Moodle2 does not handle the embed script for ClickView® properly at all. Yet it is fine with YouTube® (because it incorporates <iframe>?).
Moodle2 will only play the video as a popup in the External URL resource, such as:
http://webplayer.clickview.co.uk/?p=O8Hv OR even, http://webplayer.clickview.co.uk/e.aspx?p=O8Hv
It will only play the video in a new window in the Book resource, as a link, such as:
<p><a target="_new" href="Clickview" _mce_href="http://webplayer.clickview.co.uk/?p=O8Hv">Clickview">http://webplayer.clickview.co.uk/?p=O8Hv">Clickview® Video</a></p>
If Moodle2 tries to use the full embed code in any way, the link takes over the window, i.e. not a pop-up or new window. This forces to user to navigate back to the Moodle page, or cause the user to unwittingly leave Moodle.
I have tried manually adding a basic <iframe> tag, such as:
<p><iframe width="720" height="576" frameborder="0" src="http://webplayer.clickview.co.uk/e.aspx?p=CqkM"></iframe></p>
But it prints "document.write(" and takes over the window again - even in Edit Mode! This happens even if the target="_new" parameter is included within the <iframe> tag.
Moodle1 works perfectly well for embedding pop-up ClickView® video as Webpage or within a Book.
If any developer would be interested in persuading Moodle2 to catch up, that would be great !
Thanks for any input.
Cathy