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,11 +161,11 @@ const actions = {
|
|||
})
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
options = {
|
||||
requestOptions: { agent }
|
||||
}
|
||||
}
|
||||
|
||||
let filter = await ytsr.getFilters(payload.query, options)
|
||||
let filterUrl = null
|
||||
|
|
Loading…
Reference in New Issue