support sites that don't have 480p
This commit is contained in:
parent
c0420cabcb
commit
f671971b35
3 changed files with 5 additions and 4 deletions
|
|
@ -100,6 +100,7 @@ pandoraAPI("init").then(response => {
|
|||
...response.data
|
||||
}
|
||||
pandora.proto = pandora.site.site.https ? 'https' : 'http'
|
||||
pandora.resolution = Math.max.apply(null, pandora.site.video.resolutions)
|
||||
if (pandora.site.site.videoprefix.startsWith('//')) {
|
||||
pandora.site.site.videoprefix = pandora.proto + ':' + pandora.site.site.videoprefix
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue