mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
V5 (#500)
* update dep * Update package.json * update contextmenu * update d.ts * update onVttLoad * build artplayer * update style * --art-theme * update style * update style * update user-select * add getIcon * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * update style * add progress-hover * update mini * update style * update style * update style * update style * update style * update volume * update style * add art-backdrop * update style * update style * update style * update currentLevel * update artplayerPluginControl * update artplayerPluginDanmuku * Update package.json
This commit is contained in:
1 parent
af12bd9634
commit
7b53de941d
80 files changed
+1393
-1362
No files matched your search
@@ -184,6 +184,7 @@ export default class Artplayer extends Emitter {
|
||||
style: {},
|
||||
escape: true,
|
||||
encoding: 'utf-8',
|
||||
onVttLoad: (vtt) => vtt,
|
||||
},
|
||||
moreVideoAttr: {
|
||||
controls: false,
|
||||
@@ -227,8 +228,6 @@ Artplayer.INDICATOR_SIZE = 14;
|
||||
Artplayer.INDICATOR_SIZE_ICON = 16;
|
||||
Artplayer.INDICATOR_SIZE_MOBILE = 18;
|
||||
Artplayer.INDICATOR_SIZE_MOBILE_ICON = 20;
|
||||
Artplayer.VOLUME_PANEL_WIDTH = 60;
|
||||
Artplayer.VOLUME_HANDLE_WIDTH = 12;
|
||||
Artplayer.RESIZE_TIME = 500;
|
||||
Artplayer.SCROLL_TIME = 200;
|
||||
Artplayer.SCROLL_GAP = 50;
|
||||
@@ -248,7 +247,6 @@ Artplayer.FAST_FORWARD_TIME = 1000;
|
||||
Artplayer.TOUCH_MOVE_RATIO = 0.5;
|
||||
Artplayer.VOLUME_STEP = 0.1;
|
||||
Artplayer.SEEK_STEP = 5;
|
||||
Artplayer.PROGRESS_HEIGHT = 6;
|
||||
Artplayer.PLAYBACK_RATE = [0.5, 0.75, 1, 1.25, 1.5, 2];
|
||||
Artplayer.ASPECT_RATIO = ['default', '4:3', '16:9'];
|
||||
Artplayer.FLIP = ['normal', 'horizontal', 'vertical'];
|
||||
|
||||
Reference in new issue
Block a user