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