Hi,
I have an issue embedding a flash movie into one of my rails views.
/movies/index.rhtml
embeds /resources/movies/episode1.swf and episode1.flv
e.g index.rhtml includes:
If I put this in index.html in /resources/movies, everything works fine.
But as I understand it, flash.swf references a player skin in the same
directory (/resources/movie)- MojaveExternalAll.swf.
With the code in my view, this isn’t being found, so my movie plays
without
controls.
Adobe’s site says “FLVPlayback skin SWF must be in same directory as
HTML
file”
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=608abffd
If I load an html file from /resources/movie it all works fine. However,
I
need to embedd that flash movie into my Rails view.
Hopefully I’ve made myself clear. I expect this may be a common problem
with
loading components that load other components in their same directory. I
tried using javascript to modify base href, but to no avail.
Any thoughts?
Thanks,
Nick