在线手册

  • prop audio texttracks

    ... 属性 HTML DOM Audio volume 属性 → Audio textTracks 属性 Audio 对象 实例 获得可用文本轨道的数量: var x = document.getElementById("myAudio").textTracks.length; 尝试一下 » 定义和用法 textTracks 属性返回 TextTrackList 对象。 TextTrackList ...

  • met audio pause

    ... ;  x.pause(); } Try it yourself » Definition and Usage The pause() method halts (pauses) the currently playing audio. Tip: This method is often used together with the play() method. Tip: Use the controls property to display ...

  • met audio play

    ...     x.pause(); } Try it yourself » Definition and Usage The play() method starts playing the current audio. Tip: This method is often used together with the pause() method. Tip: Use the controls property to display ...

  • prop audio buffered

    ... Usage The buffered property returns a TimeRanges object. The TimeRanges object represents the user's buffered ranges of the audio. A buffered range is a time-range of buffered audio. The user gets several buffered ranges if he/she skips in the ...

  • prop audio currentsrc

    ... /jsref/horse.ogg Try it yourself » Definition and Usage The currentSrc property returns the URL of the current audio. If no audio is set, an empty string is returned. Note: This property is read-only. Tip: Use the src property to ...

  • prop audio defaultmuted

    ... ;).defaultMuted = true; Try it yourself » Definition and Usage The defaultMuted property sets or returns whether the audio should be muted by default. Setting this property will only change the default muted state, not the current ...

  • prop audio networkstate

    ... : var x = document.getElementById("myAudio").networkState; The result of x could be: 1  // The audio is active and has selected a resource, but is not using the network Try it yourself » Definition and Usage ...

  • prop audio played

    ... .162583 Try it yourself » Definition and Usage The played property returns a TimeRanges object. The TimeRanges object represents ranges of the audio that has already been played by the user. A played range is a time-range of played ...

  • prop audio readystate

    ... » Definition and Usage The readyState property returns the current ready state of the audio. The ready state indicates if the audio is ready to play or not. Note: This property is read-only. Browser Support The ...

  • prop audio seekable

    ... seek (move playback position) to. For non-streaming audios it is often possible to seek anywhere in the audio even before it has been buffered. Note: This property is read-only. Browser Support The seekable property is supported ...

推广服务(新)
最新文章