Tweak aspect ratio logic and fix proxy logic
This commit is contained in:
parent
41917b8ba4
commit
ce115d2737
|
@ -286,7 +286,7 @@ export default Vue.extend({
|
|||
return
|
||||
}
|
||||
|
||||
if (videoWidth < videoHeight) {
|
||||
if (videoWidth <= videoHeight) {
|
||||
this.player.fluid(false)
|
||||
this.player.aspectRatio('16:9')
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ const actions = {
|
|||
duration: ''
|
||||
}
|
||||
|
||||
let agent = null
|
||||
let agent = {}
|
||||
const settings = rootState.settings
|
||||
const useProxy = settings.useProxy
|
||||
|
||||
|
@ -161,10 +161,10 @@ const actions = {
|
|||
})
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
options = {
|
||||
requestOptions: { agent }
|
||||
}
|
||||
options = {
|
||||
requestOptions: { agent }
|
||||
}
|
||||
|
||||
let filter = await ytsr.getFilters(payload.query, options)
|
||||
|
|
Loading…
Reference in New Issue