build:all

This commit is contained in:
Harvey Zack committed 2023-05-03 10:14:46 +08:00
1 parent 283861b198
commit 5959eb4669
137 files changed
+1869 -2351

No files matched your search

-2
View File
@@ -1,7 +1,6 @@
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
title: 'Your Name',
poster: '/assets/sample/poster.jpg',
volume: 0.5,
isLive: false,
@@ -27,7 +26,6 @@ var art = new Artplayer({
airplay: true,
theme: '#23ade5',
lang: navigator.language.toLowerCase(),
whitelist: ['*'],
moreVideoAttr: {
crossOrigin: 'anonymous',
},
-1
View File
@@ -1,7 +1,6 @@
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
title: 'One More Time One More Chance',
poster: '/assets/sample/poster.jpg',
autoSize: true,
loop: true,
+1 -15
View File
@@ -316,11 +316,6 @@ export type Option = {
*/
poster?: string;
/**
* Video title
*/
title?: string;
/**
* Video url type
*/
@@ -476,11 +471,6 @@ export type Option = {
*/
plugins?: ((this: Artplayer, art: Artplayer) => unknown)[];
/**
* Custom mobile whitelist
*/
whitelist?: (string | ((ua: string) => boolean) | RegExp)[];
/**
* Custom layer list
*/
@@ -952,7 +942,7 @@ export type ComponentOption = {
/**
* Html string or html element of component
*/
html: string | HTMLElement;
html?: string | HTMLElement;
/**
* Whether to disable component
@@ -1094,10 +1084,6 @@ declare class Artplayer extends Player {
destroy(removeHtml?: boolean): void;
readonly whitelist: {
get state(): boolean;
};
readonly template: {
get html(): string;
query(str: string): HTMLElement;