No matter whether you embed a flash video using Flash Satay, swfobject, or some other method, there are a number of parameters that can be passed to the embedded video.
I’d like this to be a community wiki for the following questions:
- What parameters can be used to embed a flash video?
- How can the parameters be accessed via ActionScript?
Adobe has an object embedding reference that lists some of the possible parameters. Notably missing is the
allowFullScreenparameter.The following assumes “Satay Method“:
What parameters can be used to embed a flash video?
Parameter | Type | How ======================================================= align | <param> tag | stage.alignα allowFullScreen | <param> tag | --- base | <param> tag | --- bgcolor | <param> tag | --- classid | attribute | --- codebase | attribute | --- data | attribute | --- flashvars | <param> tag | stage.loaderInfo.parameters or documentObject.loaderInfo.parameters fullScreenAspectRatio | <param> tag | --- height | attribute | stage.stageHeight† id | attribute | ExternalInterface.objectID‡ loop | <param> tag | not directly accessible◊ menu | <param> tag | stage.showDefaultContextMenu movie | <param> tag | --- name | attribute | ExternalInterface.objectID‡ play | <param> tag | not directly accessible◊ quality | <param> tag | stage.quality salign | <param> tag | stage.alignα scale | <param> tag | stage.scaleMode seamlesstabbing | <param> tag | --- swliveconnect | <param> tag | --- width | attribute | stage.stageWidth† wmode | <param> tag | ---† only if
scaleis set tono_scale‡ for cross-browser compatibility both the
idandnameattributes must be present, and set to the same value.◊ see this question on how to indirectly access the value.
α NOTE: not sure whether
align,salignor both are available viastage.align