Remove unused rtmpEventHandler
This commit is contained in:
parent
e88031f4c5
commit
e07cc0f5aa
|
@ -1,7 +1,3 @@
|
|||
window.rtmpEventHandler = (id, event, data) ->
|
||||
if event == 'volumechange'
|
||||
PLAYER.volume = if data.muted then 0 else data.volume
|
||||
|
||||
window.RTMPPlayer = class RTMPPlayer extends VideoJSPlayer
|
||||
constructor: (data) ->
|
||||
if not (this instanceof RTMPPlayer)
|
||||
|
|
|
@ -994,12 +994,6 @@
|
|||
|
||||
})(EmbedPlayer);
|
||||
|
||||
window.rtmpEventHandler = function(id, event, data) {
|
||||
if (event === 'volumechange') {
|
||||
return PLAYER.volume = data.muted ? 0 : data.volume;
|
||||
}
|
||||
};
|
||||
|
||||
window.RTMPPlayer = RTMPPlayer = (function(superClass) {
|
||||
extend(RTMPPlayer, superClass);
|
||||
|
||||
|
|
Loading…
Reference in a new issue