Hi all,
I'm having a bit of an issue with embedding a video on a clients site. He has an M4V file that he wants to embed on a page on his WordPress site. He wants it to auto play, loop infinitely and to hide the control panel (essentially, he wants an animated GIF, but that version of the file was over 100MB). ;-)
I've managed to get it working a couple of times in the past with this code:
<embed width="400" height="270" src="http://www.honeycombeproductions.com.au/wp-content/uploads/2010/03/GlowingMoneyMovieCellPhone.m4v" align="right" loop="true" controller="false" style="margin-left: 20px;"></embed>
Problem is that as soon as he edits the page, WordPress adds additional markup, and the video won't work. Last time I had to fix this issue (about 6 months ago) I simply put the above code in the HTML editor immediately prior to saving the page, and it worked fine. This time around, no such luck.
Anyone have any thoughts on why this code won't work anymore, or perhaps a better solution? I thought perhaps a page template that includes the video would work well, as there's no chance of the client removing it via the visual editor, but my code still won't work regardless. :-(
Cheers,
Chris