7 Replies Latest reply on Oct 21, 2008 7:54 PM by Handycam

    relative paths not used in the same way for flv and mp3

    tata6688
      When I load an mp3 using the Sound component, with the relative path "medias/test.mp3", it works.

      When I try to load a flv using the VideoDisplay component, with the relative path "medias/test.flv", it doesn't work!

      VideoDisplay seems to build the path to the flv from the directory where the .swf is, not from where the webpage is...

      Webpage is : /blabla/index.html
      Swf path is: /blabla/swf/main.swf
      Medias path: /blabla/medias/...

      Is there a way to tell the VideoDisplay component to load a relative path starting at the level where the webpage is?

      Thanks in advance!