wildside96 / bst-player

Automatically exported from code.google.com/p/bst-player
0 stars 0 forks source link

Local application cannot access local files by FlashMediaPlayer #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a GWT application with bst-player included
2. Open appropriate html file of the application locally. Browser should 
display "file:///" at the beginning of page address in Windows
3. Try to play any local file by FlashMediaPlayer
4. The video is not loaded

What is the expected output? What do you see instead?
Local files should be played

What version of the product are you using? On what operating system?
Tried on version 1.1. I believe it is acceptable for any version of bst-player.

Please provide any additional information below.
Flash cannot access local files if swf-file was compiled with use-network=true 
option. You may refer 
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html for 
further information.

I have recompiled bst-flash-player-1.1.swf with use-network=false, changed jar 
file accordingly and the problem has disappeared.

Original issue reported on code.google.com by moonligh...@gmail.com on 6 Jan 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Using use-network=false makes the player to only load media locally on the 
filesystem.  Few people do want that.

Original comment by sbrah...@gmail.com on 10 Jan 2011 at 8:15

GoogleCodeExporter commented 9 years ago
A variant with filesystem support is now provided.

Original comment by sbrah...@gmail.com on 10 Feb 2011 at 2:24