Minor fixes/cleanup

This commit is contained in:
Calvin Montgomery 2016-08-15 21:09:43 -07:00
parent 4feee02e33
commit ba9fbea1a1
4 changed files with 4 additions and 8 deletions

View file

@ -32,7 +32,7 @@ window.loadMediaPlayer = (data) ->
console.error e
else if data.type is 'gd'
try
if data.meta.html5hack
if data.meta.html5hack or window.hasDriveUserscript
window.PLAYER = new window.GoogleDrivePlayer(data)
else
window.PLAYER = new GoogleDriveYouTubePlayer(data)