Minor fixes/cleanup
This commit is contained in:
parent
4feee02e33
commit
ba9fbea1a1
4 changed files with 4 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue