Ticket #2529896 (accepted defect)
Reporter Ryan Cannon |
Opened: 01/28/11 Last modified: 09/19/12 Status: accepted Type: defect |
Owner Allen Rabinovich |
Target Release: 3.CURRENT.NEXT Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Fix Y.SWF ExpressInstall | ||
| Description: | The following code: Y.SWF('#node', 'myswf.swf', { Should prompt the user to install an update to Flash if their version is below 10.1; it does not. The problem is due to Y.SWF loading http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf directly. The MovieClip root of the above SWF contains a method, statUpdate(), which must be called by a swf which loads the autoUpdater.swf. In the Y.SWF code, this method is never called. See the http://code.google.com/p/swfobject/source/browse/trunk/swfobject/src/expressInstall.as Using SWFObject's expressInstall.swf, the following workaround is possible: if (Y.SWFDetect.isFlashVersionAtLeast(10, 1, 0) {// embed swf as usual }else if (Y.SWFDetect.isFlashVersionAtLeast(6, 65, 0) { Y.SWF('#node', '/path/to/expressInstall.swf', { flashVars: { MMredirectURL: window.location.toString(), MMdoctitle: document.title } }); } else { |
||
| Type: | defect | Observed in Version: | 3.3.0 |
| Component: | SWF | Severity: | S3 (normal) |
| Assigned To: | Allen Rabinovich | Target Release: | 3.CURRENT.NEXT |
| Location: | Priority: | P3 (normal) | |
| Tags: | swf expressinstall | Relates To: | |
| Browsers: | All | ||
| URL: | http://ryancannon.com/bugs/yuiswf-expressinstall/ | ||
| Test Information: | Requires a version of Flash lower than 10.1 but at least 6.65.0. |
||
Change History
|
Posted: 04/28/11
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
|
|
Posted: 06/12/12
|
|
Posted: 07/27/12
|
|
Posted: 08/1/12
|
|
Posted: 08/7/12
|
|
Posted: 09/19/12
Moving from 3.6.x to 3.CURRENT.NEXT |
Moving 3.7.0 bugs to 3.6.x for triage.