Dynamically change embedded video source
2 Sep 2010 @ 14.21
Hey web wizards,
Is there anyone who can help me with the dreaded embedded video issue? I have code to embed video into my site using object for IE and embed for firefox. This works fine but now I also wish to dynamically change the source of the video depending on which link is clicked. I know how to acheive this but I believe that my source changing code for firefox is flawed
Thanks for your input, the capital letter was just a type error but anyway I still cant access the video source object. Can anyone explain how to embed windows media player into a page so that it works in all major browsers?
As in the actual Windows Media Player, in the browser? Don't. Your users will all have to install a plugin - and I it's annoying to get, I'd doubt anyone would bother. I definitely wouldn't.
And again - I'd still really recommend Flash, but... If you insist on the way you're doing it.
The reason, most likely, is that when you embed media you have to state the source twice.
Hey thanks very much for that, yes I know they will have to install a plugin but the site is a cd presentation for a software convention and basically some of my colleagues have messed up and given me video that doesn't have the quality to be compressed again (long story). Anyway thats excellent cheers guys