topical media & game development

talk show tell print

#playlist-question.xml / xml



  <?xml version="1.0" encoding="UTF-8"?>
  <playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- 
  The new 'extra question' structure works as follows:
    <question duration="[int; '0'=indefinately]" starttime="[Number]" pause="[true/false; to pause the video during the question, default:false]" closebutton="[true/false; show a close button on the panel, default:false]">
      <label>[question/label shown in the question UI box; obligatory]</label>
      <answer leadsto="[subject to link to]" replymessage="[message when answer is chosen]" replyduration="[duration of replymessage, uint]"> [answer(s) to the question above, 0-*] </answer>
    </question>
  
  ** examples: **
  
    -message only example:
     <question>
      <label>This is only a message without a possible answer; e.g. rhetorical question</label>
    </question>
    
    -MPC question example:
    <question>
      <label>test question</label>
      <answer>testanswer1</answer>
      <answer>testanswer2</answer>
      <answer>testanswer3</answer>
    </question>
    
    -binary question example:
    <question>
      <label>binary question</label>
      <rightanswer>true</rightanswer>
    </question>
    
    -binary question #2 example:
    <question binary=true>
      <label>binary question without a specified answer</label>
    </question>
    
    NB: HTML URLs in a question label or replymessage are automatically converted to links (eg http://www.google.com)
  -->
  
          <subject id="XIMPEL_Trailer">
            <description>the XIMPEL trailer</description>
                  <media>
        <youtubevideo id="aUAjicsqBjE">
          <question starttime="0" duration="10">
           <label>test question (MPC)</label> 
             <answer>testanswer 1</answer>
             <answer>testanswer 2</answer>
             <answer leadsto="TF_Showreel">testanswer 3</answer>
                </question>
                <question starttime="11" duration="10" closebutton="true" binary="true" pause="true">
             <label>test question (binary)</label> 
             <rightanswer>true</rightanswer> 
                </question>
              </youtubevideo>
            </media>
    </subject>
  
    <subject id="TF_Showreel">
      <description>Timeless Future showreel</description>
      <media>
        <youtubevideo id="uP9DrkSf7rk" />
      </media>
    </subject>
  
  </playlist>


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.