diff --git a/package.json b/package.json index b78d51c2..42ccece8 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/player/dailymotion.coffee b/player/dailymotion.coffee index 71239445..2d8e3b21 100644 --- a/player/dailymotion.coffee +++ b/player/dailymotion.coffee @@ -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')