Correct way to use <object> tag

  • Mikael Karlsson

    Mikael Karlsson - 2004-11-27

    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.

    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">

    • Mikael Karlsson

      Mikael Karlsson - 2004-11-27

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


Log in to post a comment.