Remove unused rtmpEventHandler

This commit is contained in:
calzoneman 2016-03-02 19:19:47 -08:00
parent e88031f4c5
commit e07cc0f5aa
2 changed files with 0 additions and 10 deletions

View File

@ -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 window.RTMPPlayer = class RTMPPlayer extends VideoJSPlayer
constructor: (data) -> constructor: (data) ->
if not (this instanceof RTMPPlayer) if not (this instanceof RTMPPlayer)

View File

@ -994,12 +994,6 @@
})(EmbedPlayer); })(EmbedPlayer);
window.rtmpEventHandler = function(id, event, data) {
if (event === 'volumechange') {
return PLAYER.volume = data.muted ? 0 : data.volume;
}
};
window.RTMPPlayer = RTMPPlayer = (function(superClass) { window.RTMPPlayer = RTMPPlayer = (function(superClass) {
extend(RTMPPlayer, superClass); extend(RTMPPlayer, superClass);