Commit Graph
23 Commits
Author SHA1 Message Date
Harvey Zack 35ad9883af build all
Refactor utility functions for improved readability and consistency

- Updated compatibility.js to use consistent line endings and formatting.
- Refactored component.js for better readability and structure, including consistent use of arrow functions and binding.
- Simplified dom.js functions with consistent formatting and improved readability.
- Enhanced emitter.js with consistent formatting and arrow function usage.
- Streamlined error.js for improved readability and consistency.
- Refactored file.js to use consistent formatting and improved readability.
- Improved format.js functions for better readability and consistency.
- Updated index.js to maintain consistent export formatting.
- Refactored property.js for improved readability and consistency.
- Enhanced subtitle.js with consistent formatting and improved readability.
- Refactored time.js for better readability and consistent formatting.

fix: update lint script to target only source files for consistency

Revert "fix: restore export statements for various plugins and update type definitions for better clarity"

This reverts commit b5e969d81ec765cd8a34b06e6ef4f232ef25087f.

fix: restore export statements for various plugins and update type definitions for better clarity

Refactor type definitions to use interfaces instead of type aliases for better extensibility and clarity across i18n, icons, option, player, quality, setting, subtitle, template, and utils modules.
2025-08-03 13:17:33 +08:00
Harvey Zack 24601dd18c Update transition property in bottom.less and
remove unnecessary styles in plugins.less and
miniProgressBar.js
2023-11-25 16:14:31 +08:00
Harvey Zack 9ba838aa52 add Artplayer.USE_RAF 2023-08-26 00:03:26 +08:00
Harvey Zack 7b53de941d 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
2023-04-16 23:01:26 +08:00
Harvey Zack 78d042b33b fix miniProgressBar 2022-04-27 21:46:37 +08:00
Harvey Zack 9c5b1cdc4a fix miniProgressBar 2022-04-27 21:33:48 +08:00
Harvey Zack 64015fcec2 fix miniProgressBar 2022-04-27 21:17:58 +08:00
zhw2590582 b70a804591 4.2.0 2022-01-07 20:13:44 +08:00
zhw2590582 1438ce5e82 add themeMix 2022-01-07 18:05:28 +08:00
zhw2590582 59400eb3bf remove player object 2022-01-07 17:38:10 +08:00
Harvey 5d8b4fb7ce remove timeupdate event 2021-12-28 08:37:45 +08:00
Harvey 76eea4bfd5 finish the ads.js 2021-12-23 15:43:42 +08:00
Harvey 61f36c795d add indicator icon 2021-11-29 13:27:21 +08:00
Harvey 4718cd186b 简化事件 2020-05-22 13:23:28 +08:00
Harvey 02915fcee5 重命名事件 2020-05-20 11:13:02 +08:00
Harvey baaaa4c56c build all packages 2019-11-22 17:07:40 +08:00
Harvey b1276c26a8 优化进度条样式 2019-09-19 14:27:13 +08:00
Harvey 904358fbdf 修改字幕偏移插件name 2019-09-11 10:24:01 +08:00
zhw2590582 6824543951 fix miniProgressBar bug 2019-05-03 21:43:15 +08:00
Harvey Zack 582114e79d 添加弹幕插件 2019-04-25 11:23:41 +08:00
Harvey Zack 078507356a fix bug 2019-04-19 12:51:39 +08:00
Harvey Zack 769855be79 fix miniProgressBar timer 2019-04-19 11:26:56 +08:00
Harvey Zack 87d068dd68 build all packages 2019-04-19 09:56:19 +08:00