Commit Graph
44 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 52d9064c8b feat: Add support for dynamic thumbnails in Artplayer
The code changes introduce a new `art.thumbnails` property that allows for dynamic setting of thumbnails in Artplayer. This feature enhances the user experience by providing a visual preview of the video content.
2024-08-15 22:50:21 +08:00
Harvey Zack cf8cea8283 Fix minor bugs and remove loop control 2023-11-11 10:20:45 +08:00
Harvey Zack 4902322808 Aspect ratio (#534)
* update

* update

* Create video2.mp4

* add art.quality

* fix art.theme
2023-05-13 21:23:05 +08:00
Harvey Zack 5959eb4669 build:all 2023-05-03 10:14:46 +08:00
Harvey Zack 609ccb4c46 update stateMix 2023-04-20 11:49:43 +08:00
Harvey Zack 339034d30d add cssVar 2023-04-17 22:40:22 +08:00
Harvey Zack 49e1ed15b8 add cssPropertyMix 2023-04-17 22:39:18 +08:00
Harvey f0e856093e add art.type 2022-10-21 11:29:25 +08:00
Harvey fbd1d2170a add airplay 2022-07-13 15:35:04 +08:00
Harvey facf8876b5 add normalSizeMix 2022-04-29 17:51:46 +08:00
Harvey fedbf3b6f7 update 2022-02-11 11:20:54 +08:00
Harvey dabfb2b8c8 update 2022-02-11 11:20:54 +08:00
zhw2590582 938e8718bc add attrMix.js 2022-01-07 18:35:05 +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 6cb75858bb add autoHeight option 2021-12-31 13:30:59 +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
zhw2590582 00150073b9 update 2021-11-28 09:13:06 +08:00
Harvey 74bc297e8f 移除多余文件 2021-11-24 14:07:39 +08:00
Harvey ec97a5912e add posterMix 2021-11-01 09:21:14 +08:00
Harvey abf60cfef6 add rotateMix 2020-09-15 14:21:49 +08:00
Harvey 9a86ce4f73 min -> mini 2020-05-25 09:40:20 +08:00
zhw2590582 7d6186ddd6 添加区间循环 2020-05-17 00:39:44 +08:00
Harvey 05227caf18 添加迷你播放模式 2020-05-15 18:35:41 +08:00
Harvey 634e776d49 优化事件互斥关系 2020-05-15 17:30:50 +08:00
Harvey cf22fb0535 添加自动旋转全屏 2020-05-15 17:10:05 +08:00
zhw2590582 3379e6091c 添加灯光模式 2020-02-29 09:37:06 +08:00
Harvey 7ff61b4660 删除多余事件 2019-11-28 10:10:29 +08:00
Harvey cdbf4b3816 typofix 2019-09-03 17:29:12 +08:00
Harvey Zack 5e03c9b191 player属性代理到art属性 2019-08-01 15:53:01 +08:00
Harvey Zack 487e865017 优化整体结构 2019-04-30 13:06:24 +08:00
zhw2590582 3b172ffa93 build all packages 2019-04-21 11:57:44 +08:00
Harvey Zack bdb050f0a7 优化playing 2018-11-28 14:28:45 +08:00
Harvey Zack 8a9f70720a 添加flv.js演示 2018-11-24 17:08:36 +08:00
Harvey Zack 88533c1023 修复切换画质bug 2018-11-22 13:16:00 +08:00
Harvey Zack 203ad0d3a0 格式化 2018-11-21 19:45:44 +08:00
Harvey Zack 5c037ad08f 优化svg 2018-11-21 11:19:46 +08:00
Harvey Zack 3dc1e30bb3 bugfix 2018-11-09 20:06:56 +08:00
Harvey Zack ccf1999e6d 添加旋转和翻转设置 2018-11-09 16:58:21 +08:00
Harvey Zack 7d766ac1d5 添加自动尺寸 2018-11-09 14:36:48 +08:00
Harvey Zack 1d40d1c46b 分离事件中心 2018-11-09 12:17:19 +08:00
Harvey Zack 0aa018db6d 修改包管理 2018-11-07 17:12:42 +08:00