QTNEXT1

Help
vanweric
2004-07-14
2004-07-14
  • vanweric

    vanweric - 2004-07-14

    I'd like the webpage to automatically load the next page when the movie is done.  I've done this using the QTNEXT1 flag before.  How does mplayer achieve this?

    Current tag:
        <embed src="moviename.mov" width=800 height=600 scale="aspect" autoplay="true" QTNEXT1="nextpage.py">
        </embed>

    Thanks,
    Eric

     
    • Kevin DeKorte

      Kevin DeKorte - 2004-07-14

      The QTNEXT1 parameter should be recognized and work. However, the way I work with it, is that the item is added to the playlist rather than a page is loaded.

      If you want to have another page loaded after the media is played use something like this.

      <embed onMediaComplete="NewFile();" type="application/x-mplayer2" width=500 heig
      ht=400 filename="file:///home/kdekorte/Movies/TheHunt.divx">

      And have the java script function NewFile load the new page.

       

Log in to post a comment.