locked
What is the best way to do this? RRS feed

  • Question

  • For example, i want 3 options for watching the movie, the first one is "movie only", the second is "movie + quizgame" and the third is "movie + anotherquizgame".

    At the beginning you can see 3 bottons that allow you to choose what option  you want. I think i can do all of this with 1 markup and 1 script using a var to switch the option and showing or hidding the correct element of the markup but is this the best way? Maybe dividing all in different markups? What could be the paper of the playlist in all of these?

    Maybe the answer is really obsious but by now i'm blind!

    Tuesday, March 13, 2007 9:23 AM

Answers

  • I think the route you decide to take will depend on the complexity of your application.  Like you said, you could go with a single application that has a single markup file and hides the sections you don't need and moves the focus to the part of the markup you do need. 

    Or, the initial markup page could be your selection page, and then load a new markup page for either of the quiz games.

    Or, should your applications get even more complex, you could make your selection application a playlist application.  And, then each of the quiz applications could be its own title application in its own title.  then your playlist application would switch between titles in order to load your other applications. 

    in this case, your playlist would look something like:

    <TitleSet defaultLanguage="en" timeBase="60fps">
     <Title id="movie_only" titleNumber="1" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
     </Title>
     <Title id="quiz" titleNumber="2" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
      <ApplicationSegment titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" src="
    file:///dvddisc/ADV_OBJ/quiz.aca/manifest.xmf" autorun="true" zOrder="0">
       <ApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/quiz.aca" multiplexed="1" priority="1"/>
      </ApplicationSegment>
     </Title>
     <PlaylistApplication language="en" src="
    file:///dvddisc/ADV_OBJ/playlist_app.aca/manifest.xmf">
      <PlaylistApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/playlist_app.aca" multiplexed="1"/>
     </PlaylistApplication>
    </TitleSet>

    Tuesday, March 13, 2007 9:55 AM

All replies

  • I think the route you decide to take will depend on the complexity of your application.  Like you said, you could go with a single application that has a single markup file and hides the sections you don't need and moves the focus to the part of the markup you do need. 

    Or, the initial markup page could be your selection page, and then load a new markup page for either of the quiz games.

    Or, should your applications get even more complex, you could make your selection application a playlist application.  And, then each of the quiz applications could be its own title application in its own title.  then your playlist application would switch between titles in order to load your other applications. 

    in this case, your playlist would look something like:

    <TitleSet defaultLanguage="en" timeBase="60fps">
     <Title id="movie_only" titleNumber="1" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
     </Title>
     <Title id="quiz" titleNumber="2" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
      <ApplicationSegment titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" src="
    file:///dvddisc/ADV_OBJ/quiz.aca/manifest.xmf" autorun="true" zOrder="0">
       <ApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/quiz.aca" multiplexed="1" priority="1"/>
      </ApplicationSegment>
     </Title>
     <PlaylistApplication language="en" src="
    file:///dvddisc/ADV_OBJ/playlist_app.aca/manifest.xmf">
      <PlaylistApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/playlist_app.aca" multiplexed="1"/>
     </PlaylistApplication>
    </TitleSet>

    Tuesday, March 13, 2007 9:55 AM
  • Aha, and in the last case how you select the title? You need a markup with selection page too?
    Tuesday, March 13, 2007 10:08 AM
  • Yes, your markup and script that you use to load the different titles would be its own application.  The example I gave had this application setup as a playlist application.  You could also set up this application for title selection as a title application on the title that is loaded first.

    Something to keep in mind when using playlist and title applications at the same time is passing focus between them.  With that in mind, you may want to try the title application approach first.

    <TitleSet defaultLanguage="en" timeBase="60fps">
     <Title id="title_selection" titleNumber="1" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <ApplicationSegment titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" src="
    file:///dvddisc/ADV_OBJ/selection_app.aca/manifest.xmf" autorun="true" zOrder="0">
       <ApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/selection_app.aca" multiplexed="1" priority="1"/>
      </ApplicationSegment>
     </Title>
     <Title id="movie_only" titleNumber="2" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
     </Title>
     <Title id="quiz" titleNumber="3" tickBaseDivisor="1" titleDuration="01:00:00:00" >
      <PrimaryAudioVideoClip src="
    file:///dvddisc/HVDVD_TS/EVOB.MAP" titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" dataSource="Disc">
       <Video track="1" mediaAttr="1"/>
       <Audio track="1" streamNumber="1" mediaAttr="1"/>
      </PrimaryAudioVideoClip>
      <ApplicationSegment titleTimeBegin="00:00:00:00" titleTimeEnd="01:00:00:00" src="
    file:///dvddisc/ADV_OBJ/quiz.aca/manifest.xmf" autorun="true" zOrder="0">
       <ApplicationResource size="999999" src="
    file:///dvddisc/ADV_OBJ/quiz.aca" multiplexed="1" priority="1"/>
      </ApplicationSegment>
     </Title>
    </TitleSet>

    Tuesday, March 13, 2007 10:22 AM
  • Mixing your explanations with the Peter's BareBonesMenu i got a good result hehe, Thank You!
    Tuesday, March 13, 2007 12:32 PM