[Edge]。→、、
mdn: ユーザーエージェントがメディアを再生可能なときに発生し、コンテンツをさらにバッファリングするために再生を停止することなく、メディアを最後まで再生するのに十分なデータが読み込まれたと推定します。
| バブリング | なし |
|---|---|
| キャンセル可能 | いいえ¶ |
| インターフェイス | Event |
| イベント ハンドラー プロパティ | oncanplaythrough |
HTML:
<VIDEO id=IdTest src="" controls style="width:200px"></VIDEO>
JavaScript:
function Job(eve){ //canplaythrough イベントの処理:
D=eve;
alert("イベント発生");
}
IdTest.oncanplaythrough=Job; //イベント割り当て。
IdTest.src="../../Sample/Eizou_M.mp4"; //再生可能なファイルを指定。
得られた内容:D
=[object]:[object Event] isTrusted=[boolean]:true type=[string]:canplaythrough target=[object]:[object HTMLVideoElement] currentTarget=[object]:null eventPhase=[number]:0 bubbles=[boolean]:false cancelable=[boolean]:true defaultPrevented=[boolean]:false composed=[boolean]:false …
cancelable=[boolean]:true となっているが。