mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
19 lines
626 B
TypeScript
19 lines
626 B
TypeScript
import { defineComponentMetadata } from '@/components/define'
|
|
import { liveUrls } from '@/core/utils/urls'
|
|
|
|
export const component = defineComponentMetadata({
|
|
name: 'livePip',
|
|
displayName: '直播画中画',
|
|
description: {
|
|
'zh-CN':
|
|
'在直播间的功能面板中启用画中画支持, 不过现在好像 b 站已经直接支持了, 后续可能会删掉这个功能.',
|
|
},
|
|
entry: none,
|
|
tags: [componentsTags.live],
|
|
widget: {
|
|
component: () => import('./LivePip.vue').then(m => m.default),
|
|
condition: () => 'requestPictureInPicture' in HTMLVideoElement.prototype,
|
|
},
|
|
urlInclude: liveUrls,
|
|
})
|