(key?: string, object = false)
| 1423 | } |
| 1424 | |
| 1425 | static mediaPlayers (key?: string, object = false) { |
| 1426 | if (typeof key === 'string') { |
| 1427 | if (object) { |
| 1428 | return this._mediaPlayers[key]; |
| 1429 | } |
| 1430 | |
| 1431 | return Object.values (this._mediaPlayers[key]); |
| 1432 | } |
| 1433 | |
| 1434 | return this._mediaPlayers; |
| 1435 | } |
| 1436 | |
| 1437 | static mediaPlayer (type: string, key: string, value?: HTMLAudioElement | HTMLVideoElement | AudioPlayer): HTMLAudioElement | HTMLVideoElement | AudioPlayer | undefined { |
| 1438 | if (typeof value === 'undefined') { |
no outgoing calls
no test coverage detected