Hello there,
I was hoping someone on this forum could please help me with one specific problem that I am having. I would like to embed the JW longtail player into an html page, and then load the video from a service that has the streaming video provided.
I have tried using the setup wizard on this site, but when I link to the video, there is a "#2048" error.
Tghis is the context of the situation...
We have created a site that was to be used on a showroom floor ( no internet connection) and loaded the .flv videos at the local root level.
Now however, we would like to be an online site. I have been able to use the jw player to load videos to play using the shadowbox javascript, but when I try to embed it onto a page and have it play, it isn't working and I am not sure why.
Below is the code that is currently working to load the videos on the local root level.
Might someone have any ideas on what I need to replace to have it load the videos from the streaming service?
I would greatly appreciate any assistance that could be provided.
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("player1","9.0.98","expressInstall.swf");
</script>
<object id="player1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="640" height="380">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=assets/videos/Bob_Peebler.flv&image=images/videoStatic_Peebler.jpg" />
<object type="application/x-shockwave-flash" data="player.swf" width="640" height="380">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=assets/videos/Bob_Peebler.flv&image=images/videoStatic_Peebler.jpg" />
<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p>
</object>
</object>
One of the many Adobe Flash Player security restrictions, is that an offline player can only load offline files/an online player can only load online files.
So you have to use an online player to load the online file.
Instead of player.swf, you need http://www.domain.com/path/player.swf.
Adjust the domain and path to the location of the Flash movie on your server.