[2008] Playing flv over the internet?
I have failed at this so far, but attempting to play a flv file over the internet into a vb.net application.
Please help...
What I have done is added the COM thing for Shockwave (FlashObj)...
FlashObj.Movie = "Link to flv file"
FlashObj.Play()
However nothing plays. Flash only says "Movie Not Loaded"
Any ideas?
Re: [2008] Playing flv over the internet?
Re: [2008] Playing flv over the internet?
A flash movie can not play a flv file directly.
You need to create a flash video player and compile to swf first.
Re: [2008] Playing flv over the internet?
How would I pass params to it then?
Re: [2008] Playing flv over the internet?
You have your video player swf which receives the "contentPath" which is the flv location. The player swf can be added to other swf's/movies or used as only a player.
Re: [2008] Playing flv over the internet?
Ok i got that added... However I cannot pass variables to it...
Form1.player.Movie = "link-to-player.swf"
Form1.player.SetVariable("file", "link-to-file")
Form1.player.SetVariable("shownavigation", "true")
Form1.player.Play()
It loads the swf but not the movie
Re: [2008] Playing flv over the internet?
I dont see where you are setting or passing the "contentPath". contentPath is a Flash property of the location of the flv.
Re: [2008] Playing flv over the internet?
ContentPath is not allowed by the Shockwave COM.