How can I stop to play video on start?

By default, my video file is playing at start always (I think that I can configute XPL file for it). But I want start video from JavaScript (e.g. use click by "Play" button). i.e. when I start iHDSim I must don't see video, but I will must work with controls (DIV, BUTTON and etc.) and use animation.

How can I do it



Answer this question

How can I stop to play video on start?

  • Kardath

    I tried something like this (using looping of a title to itself) in a markup app that should last indefinitely (until the user explicitly clicks "exit") -- however I noticed that when the loop-point occurred, the markup would "reset" itself, i.e., the active <cue>s all ended. I didn't really investigate further and stuck in the <PauseAt> right away, but is what I was seeing correct behavior

  • Palmi

    Don't add any video clip to your title and that's it ;)

    Add only an ApplicationSegment to first started title. That application can show the menu and start the playback of a title with an AV clip from jscript.



  • DevDiver

    The other thing you can do is use a scheduled event near the end on the title that when your app receives it it does a jump back to the start of the video. then the video "loops", but the title has never ended, so your app does not reset.
  • Heinz09

    The player will still automatically go to "play" mode though, moving along the Title Timeline. A blank title is a good idea, but make sure to issue a "pause" command right away. Using a hard pause in the playlist via a <PauseAt> at time="00:00:01:00" would be a good way to do this.

  • philknight

  • Santosh Ransubhe

    If you have a Title Application, it will end and re-start because the title is ending and re-starting.

    If you want something to appear independent of title starts and stops, you should use a PlaylistApplication instead.



  • How can I stop to play video on start?