No, it's not that you didn't do it right. It's that, with the version that page uses and the way that page invokes that version, there is no cu3er instance declared. Without that, there's no way to use its native pause() and play() methods.
So, unless we can find a syntax that gives us a reference to the instance* using that version of cu3er, and it has those methods, you would have to update to 1.22 or later where this can be set in the xml file. I looked at the website:
http://getcu3er.com/
You have to sign up to get the latest version. That's free, but it's branded and has limited features unless you buy a pro license ($49).
* I tried the obvious:
Code:
var CU3ER = swfobject.embedSWF("/cu3er.swf", "cu3er-container", "680", "453", "9", "expressInstall.swf", flashvars, attributes);
But, as I say, there is no instance. swfobject.embedSWF returns undefined.
It might need to have allowScriptAccess set to always and/or other things in order to get an instance reference and to be able to work with it. But even with that, it's unlikely that swfobject.embedSWF will return anything we can work with. The div itself might represent the instance, if we grant javascript. It doesn't now though, I tried that.
Bookmarks