Merge branch 'preview-fixes' into preview-features

This commit is contained in:
the1812 2022-02-01 12:38:23 +08:00
commit 8bafd7cdd4
2 changed files with 4 additions and 0 deletions

View File

@ -274,6 +274,9 @@ export default Vue.extend({
},
mounted() {
coreApis.observer.videoChange(() => {
this.selectedInput = undefined
this.selectedApi = undefined
const matchedInputs = filterData(inputs)
this.inputs = matchedInputs
this.selectedInput = matchedInputs[0]

View File

@ -17,6 +17,7 @@ export const mediaListUrls = [
/** 含有普通视频的页面 */
export const videoUrls = [
'//www.bilibili.com/video/',
/\/\/www\.bilibili\.com\/festival\/(\d+)bnj/,
...mediaListUrls,
]
/** 含有番剧的页面 */