Correct way to use <object> tag

Help
2004-11-27
2013-05-13
  • I have an xhtml page that uses the <object> tag to embed a realvideo clip. What is the correct way to set autostart = false and controls = true?
    I have tried the <param> tags with no success.

    The page I am trying to fix is here.
    http://mikael.karlsson.com/blog/Vinklad_media.html

    On a sidenote, I had to set the mimetype to realaudio to make the plugin recognize it.

     
    • Kevin DeKorte
      Kevin DeKorte
      2004-11-27

      Here's an example

      <embed onMediaComplete="NewFile();" type="application/x-mplayer2" width=500
      height=400 autostart=0 filename="file://localhost/movies/TheHunt.divx">

       
    • But that is an embed tag. They are deprecated in xhtml.