套件 | org.osmf.utils |
類別 | public final class OSMFSettings |
繼承 | OSMFSettings Object |
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | Flash Player 10, AIR 1.5 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
enableStageVideo : Boolean = true [靜態]
Controls OSMF’s use of StageVideo in your application. | OSMFSettings | ||
supportsStageVideo : Boolean [靜態] [唯讀]
Obtains whether the version of Flash Player installed on the user’s
system supports StageVideo. | OSMFSettings |
enableStageVideo | 屬性 |
public static var enableStageVideo:Boolean = true
語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | 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 | 屬性 |
supportsStageVideo:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | OSMF 1.6 |
執行階段版本: | 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.
實作
public static function get supportsStageVideo():Boolean
Tue Jun 12 2018, 03:47 PM Z