cast. framework. event 和 MediaElementEvent
class static
從 MediaElement
轉寄的所有事件事件資料。
建構函式
媒體元素事件
new MediaElementEvent(type, currentMediaTime)
參數 |
|
---|---|
type |
cast.framework.events.EventType 值不得為空值。 |
目前的媒體時間 |
選用 數字 |
屬性
目前的媒體時間
常數
(數字或不定義)
事件觸發時,目前播放片段的秒數 (以秒為單位)。如果尚未開始播放,這個動畫會是 undefined
。