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

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