Skip to main content
Known Participant
Apr 5, 2010 2:54 PM UTC
Question

videos only stream from the media folder

Hi,

I have FLV files streaming fine from the media folder in the applications folder.

I want to split up the videos into folders to make them more manageable.

If I create another folder in the applications folder at the same level as the media folder and put a video in there the video does not play.

What do I need to do?

cheers

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Participating Frequently
    Apr 6, 2010 6:09 AM UTC

    You can edit Application.xml as follows:

    <Application>

    <StreamManager>

    <VirtualDirectory>

    <Streams>/;<FMS Installed Directory>\applications\vod\mymedia</Streams>   

    </VirtualDirectory>

    where "mymedia" is folder you created under applications directory.

    Translate
    Known Participant
    Apr 6, 2010 7:53 AM UTC

    <Streams>/;<FMS Installed Directory>\applications\vod\mymedia</Streams> - worked for me.

    Don't forget to replace <FMS Installed Directory> by your actual fms installation dir

    Translate
    Known Participant
    Apr 6, 2010 2:16 PM UTC

    Hi folks,

    thanks for the help. That worked fine.

    Translate
    calmchessplayer
    Inspiring
    Apr 5, 2010 9:40 PM UTC

    you need to setup virtual directories in application.xml looks like this

    <!-- This section specifies virtual directory mappings for file      -->
      <!-- objects in the script. By using virtual directories, you can    -->
      <!-- specify file directories for different applications. If the     -->
      <!-- beginning portion of a file path matches the virtual directory  -->
      <!-- that is specified, then the storage location of the file maps   -->
      <!-- to the location specified by the virtual directory mapping. To  -->
      <!-- specify a virtual directory mapping, you first specify the      -->
      <!-- virtual directory, followed by a semi-colon, followed by the    -->
      <!-- actual file location. <virtual dir>;<actual dir>                -->
      <FileObject>
       <!--
       <VirtualDirectory>/flashapps;C:\dev\Code\Flash\tincan\flashapps\</VirtualDirectory>
       -->
      </FileObject>

    Translate