Mạng âm thanh
Thí dụ
Nhận trạng thái mạng hiện tại của âm thanh:
var x = document.getElementById("myAudio").networkState;
Định nghĩa và Cách sử dụng
Thuộc tính networkState trả về trạng thái mạng hiện tại (hoạt động) của âm thanh.
Hỗ trợ trình duyệt
Property | |||||
---|---|---|---|---|---|
networkState | Yes | Yes | Yes | Yes | Yes |
Cú pháp
audioObject.networkState
Giá trị trả lại
Type | Description |
---|---|
Number | Represents the current network state of the audio element:
|
❮ Đối tượng âm thanh