-
☆ A M B ☆
- 1,056 Posts
Personally, I’m a UFO user myself... I thought (possibly in earlier versions?) SWFObject handled FlashVar declarations a bit differently, and I recall liking the general syntax of UFO a bit more, as well.
Not quite sure of other differences/benefits, although I know the ufo.js is pretty small ~20kb...
Everyone interested in embedding flash may want to keep their eyes peeled here:
http://www.swffix.org/devblog/
It is a joint project between the authors of UFO and SWFObject to create an even better Flash embedding.
And here is a good article on alistapart.com about SWFfix:
http://www.alistapart.com/articles/flashembedcagematch/
"Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
-- Sydney Harris
Does anyone know how to make TinyMCE to load Flash file into the content using SWFObject? I am quite new as MODx user and I know how to include SWFObject in my snippets, but maybe there is "a version" of TinyMCE plugin that would enable any content manager load swf files as SWFObjects just using the html editor?
I’ve seen that
cuervo-gold has expanded
swfObject by a bunch of parameters for swf variables and parameters.
So I downloaded and tested and after I changed a view lines of code of the snippet it worked for me:
124 $swfvariable = substr("$value",0,strpos($value,':'));
125 $swfvalue = substr("$value",strpos($value,':')+1);
137 $swfparameter = substr("$value",0,strpos($value,':'));
138 $swfvalue = substr("$value",strpos($value,':')+1);
If one cannot see the difference - I changed the delimiter of the substr from ’=’ to ’:’
and added the ’+1’ at line 138.
I only tested the variables so far.
Feedback about different experiences is highly appreciated.
Greetz from Vienna, Austria EUROPE
RaVen
Hi,
I just downloaded the SWFObject snippet and installed it on the local version of my site, where it worked fine. My Flash movie displayed and did everything it was supposed to do.
However I also have a production version of the same site, on a live server. I tried to create the snippet on the live site, just as I’d done it on the local version. When I tried to save the snippet, I got an odd error which I’ve never seen before, as follows:
"Precondition failed
The request was not completed due to preconditions that are set in the request header.
Preconditions prevent the requested method from being applied to a resource other than the one intended."
Once this is done, I’m locked out of the server for 5 - 10 mins. I can’t access the live site or the CMS Manager.
Has anyone seen this problem and found a solution?
I realise that I could manually copy the snippet code into a new record in MODx’s database, which is probably what I’ll end up doing, but if anyone can shed any light on what’s going on, I’d be really grateful.
Thanks,
Willo