I’m looking to play a flash video hosted on a remote website. I’ve tried the following (and profuse google-ing):
In source of page on http://fakesite1.com/player.jsp:
<embed src = "FlashPlayer.swf?file=http://fakesite2.net/video.flv" />
I can browse to http://fakesite2.net/video.flv and ensure it’s there, but the player comes back “movie not loaded” (on right-click) on fakesite1. My initial guess is that this might be some sort of security feature… is it possible to play a video hosted on a remote site?
The message “Movie not loaded” as seen in the context menu of an SWF object in a webpage means that the
.swffile was not loaded by the browser plugin. The main cause is that that SWF file doesn’t exist and the plugin got a 404 error, in which case make sure that the path to the SWF file is correctly set.Also, the
<embed>element is obsolete in modern HTML. Use<object>instead, as seen below.Note that various versions of IE (except IE9/10, possibly including IE8) do not support the HTML5
<object data="" />element, they prefer the IE4-era<object clsid="" />element, so use a conditional comment, like so: