Add destroy cb for dailymotion (#873)
This commit is contained in:
parent
ffa10648e4
commit
b70194c8f2
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.70.3",
|
||||
"version": "3.70.4",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -125,3 +125,7 @@ window.DailymotionPlayer = class DailymotionPlayer extends Player
|
|||
when '360' then '380'
|
||||
when 'best' then '1080'
|
||||
else 'auto'
|
||||
|
||||
destroy: ->
|
||||
if @dm
|
||||
@dm.destroy('ytapiplayer')
|
||||
|
|
Loading…
Reference in a new issue