Add destroy cb for dailymotion (#873)

This commit is contained in:
Calvin Montgomery 2020-06-19 18:31:07 -07:00
parent ffa10648e4
commit b70194c8f2
2 changed files with 5 additions and 1 deletions

View File

@ -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"
},

View File

@ -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')