feature: combined-video player.

This commit is contained in:
2024-04-11 17:29:26 +08:00
parent b6fe3e34f5
commit 5cbbcf8d81
15 changed files with 8591 additions and 873 deletions

8
lib/ui/media.d.ts vendored
View File

@ -23,4 +23,10 @@ export function createVideo(url: string): HTMLVideoElement
* @param url 文件 url
* @param icon 图标,默认为 `file-alt`
*/
export function createFile(url: string, icon?: string): HTMLDivElement
export function createFile(url: string, icon?: string): HTMLDivElement
/**
* 创建联动视频元素
* @param urls 视频 url 数组
*/
export function createVideoList(urls: string[]): HTMLDivElement