Skip to main content
Participant
August 16, 2010
Answered

About vod/Application.xml

  • August 16, 2010
  • 1 reply
  • 1158 views

Hello,

I added a line to About vod/Application.xml :

<Streams>/t;/mnt/vod/t</Streams>

The VOD_COMMON_DIR  is  /mnt/vod .

There is a test.flv in /mnt/vod , and I can play it by JW Player .

There is a testvideo.flv in /mnt/vod/t folder.

But I can't play testvideo.flv by JW Player .

Please check my code:

      <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
     
     <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">
          <param name="movie" value="player.swf" />
          <param name="allowfullscreen" value="true" />
          <param name="allowscriptaccess" value="always" />
             <param name="flashvars" value="file=testvideo.flv&image=preview.jpg&streamer=rtmp://hostname/vod/t/" />
          <embed
               type="application/x-shockwave-flash"
               id="player2"
               name="player2"
               src="player.swf" 
               width="400" 
               height="315"
               allowscriptaccess="always" 
               allowfullscreen="true"
               flashvars="file=testvideo.flv&image=preview.jpg&streamer=rtmp://hostname/vod/t/" 
          />      </object>           <!-- END OF THE PLAYER EMBEDDING --> Why I can't play it ? Thanks!
    This topic has been closed for replies.
    Correct answer SE_0208

    I think problem is the configuration, instead of <Streams>/t;/mnt/vod/t</Streams> make it <Streams>/;/mnt/vod/t</Streams>

    after you have done this change , restart the server and try again.

    If you do not want to change the configuration and want to keep it as <Streams>/t;/mnt/vod/t</Streams> , then try playing using file=t/testvideo.flv

    1 reply

    SE_0208Correct answer
    Participating Frequently
    August 17, 2010

    I think problem is the configuration, instead of <Streams>/t;/mnt/vod/t</Streams> make it <Streams>/;/mnt/vod/t</Streams>

    after you have done this change , restart the server and try again.

    If you do not want to change the configuration and want to keep it as <Streams>/t;/mnt/vod/t</Streams> , then try playing using file=t/testvideo.flv

    Participant
    August 17, 2010

    Thank you very much!