Skip to main content
Known Participant
April 5, 2010
Question

videos only stream from the media folder

  • April 5, 2010
  • 2 replies
  • 601 views

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 has been closed for replies.

    2 replies

    Participating Frequently
    April 6, 2010

    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.

    Known Participant
    April 6, 2010

    <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

    Known Participant
    April 6, 2010

    Hi folks,

    thanks for the help. That worked fine.

    calmchessplayer
    Inspiring
    April 5, 2010

    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>