error when closing flv player

5 messages Options
Embed this post
Permalink
Lorenzo

error when closing flv player

Reply Threaded More More options
Print post
Permalink
Hello,

I use shadowbox with joomla. I had install the mediaplayer (flv). The video run correctly but when i try to close the shadowbox i have this error :
Error : swfobject.removeSWF is not a function
File Source : ../plugins/system/shadowbox/players/shadowbox-flv.js
Line : 1
Lorenzo

Re: error when closing flv player

Reply Threaded More More options
Print post
Permalink
Nobody know ?? :(((

Wizzud

Re: error when closing flv player

Reply Threaded More More options
Print post
Permalink
You're probably running your own (as opposed to the one that came with Shadowbox) version of swfobject, and its version is pre v2.1, which does not have the removeSWF() method.
Combine literacy with curiosity and a whole world of information opens up to you
NJISC2010

Re: error when closing flv player

Reply Threaded More More options
Print post
Permalink
i'm having the same problem with any SWF file.

my version of swfobject.js is v2.2 which has the removeSWF() method.

the error is in the shadowbox-swf.js
line 1
Char 538

which is where the removeSWF() is being called.

could there be any conflict with JS's that dreamweaver generates?
NJISC2010

Re: error when closing flv player

Reply Threaded More More options
Print post
Permalink
actually, i found the answer. my dreamweaver template was looking for swfobject_modified.js in the <head> section. renaming it to swobject.js did it.