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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (videoWidth < videoHeight) {
|
if (videoWidth <= videoHeight) {
|
||||||
this.player.fluid(false)
|
this.player.fluid(false)
|
||||||
this.player.aspectRatio('16:9')
|
this.player.aspectRatio('16:9')
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ const actions = {
|
||||||
duration: ''
|
duration: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
let agent = null
|
let agent = {}
|
||||||
const settings = rootState.settings
|
const settings = rootState.settings
|
||||||
const useProxy = settings.useProxy
|
const useProxy = settings.useProxy
|
||||||
|
|
||||||
|
@ -161,10 +161,10 @@ const actions = {
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
requestOptions: { agent }
|
requestOptions: { agent }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let filter = await ytsr.getFilters(payload.query, options)
|
let filter = await ytsr.getFilters(payload.query, options)
|
||||||
|
|
Loading…
Reference in New Issue