On Tue, May 5, 2009 at 7:08 AM, walido <walid.kharroubi(a)hraccess.com> wrote:
i would like to display the swf files that i have on my disk
in xwiki so copied the source code of
http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/EditVideo
just the fragment with :<OBJECT ...
<EMBED...
and i changed the url of the source so i can play my swf file that i
putted
in the attachment but it does'nt work
I'm not sure, since I'm not familiar w/ playing SWF's directly, though I
think the JW player allows it.
I did find some portability problems (IE) using object/embed, which is why i
ended up doing things the way I did, triggering the whole thing out of
javascript via window.onload. That could be the issue
you're seeing if you use IE.
Also, there could be security reasons why a remotely loaded flash script
wouldn't/shouldn't be able to access files on the local disk. Given the
probable security violation of the scenario you presented, try this
instead: have a simple HTML file on your local system, and have your
browser point at both local HTML file and local media.
-- Niels.
http://nielsmayer.com