Package | org.osmf.utils |
Class | public final class OSMFSettings |
Inheritance | OSMFSettings Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
enableStageVideo : Boolean = true [static]
Controls OSMF’s use of StageVideo in your application. | OSMFSettings | ||
supportsStageVideo : Boolean [static] [read-only]
Obtains whether the version of Flash Player installed on the user’s
system supports StageVideo. | OSMFSettings |
enableStageVideo | property |
public static var enableStageVideo:Boolean = true
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Controls OSMF’s use of StageVideo in your application. Setting this value to true causes OSMF to try to use StageVideo on systems where it is available. Setting the value to false disables the use of StageVideo and instructs OSMF to fallback to the normal Video API. Changes to this value affect any new media elements that are created, but changes have no effect on existing media elements. The default setting for this flag is true.
supportsStageVideo | property |
supportsStageVideo:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.6 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Obtains whether the version of Flash Player installed on the user’s system supports StageVideo. If the installed version of Flash Player is equal to or greater than 10.2, StageVideo is supported, and the function returns true. If the installed version of Flash Player is lower than 10.2, StageVideo is not supported, and the function returns false.
Implementation
public static function get supportsStageVideo():Boolean
Thu Dec 6 2018, 01:12 PM -08:00