Jump to content

How to play webbased video


Jack McKalling

Recommended Posts

This has bothered me for a long time now. I've read the media tutorial, but come up with a cross-browser sollution that is not valid Xhtml..I want both, lol :)

<object width="200" height="100" classid="clsid:player_version_in_here"  codebase="something_in_here"><param name="src" value="movie.ext"><param name="autoplay" value="true"><param name="controller" value="true"><embed src="movie.ext" width="200" height="100" autoplay="true"  controller="true" pluginspage="something_in_here"></embed></object>

Can anyone help me getting a crossbrowser way, that is also valid xhtml? While this one isn't, <embed> is to support older browsers that don't support <object>, but <embed> itself is deprecated.. So :)

Edited by Dan The Prof
Link to comment
Share on other sites

  • 3 months later...

Do you at least know an <object> that would work only in FF or Opera? You can use IE's conditional comments to hide the inner objects from it, thus allowing it to see only the object it could handle.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...