Commit Graph
83 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 2db49bdede Refactor Artplayer class to update import path for Component 2024-10-20 23:58:07 +08:00
Harvey Zack c9d2d6c194 feat: filter empty lines in subtitle rendering for improved display 2024-09-22 21:33:42 +08:00
Harvey Zack c0c5a12010 feat: update subtitle properties and events to enhance cue management and retrieval 2024-09-22 17:35:12 +08:00
Harvey Zack 8ea85476e0 feat: update subtitle handling to support multiple active cues and improve rendering logic 2024-09-22 17:23:43 +08:00
Harvey Zack 36fb27d7a1 feat: 优化字幕事件逻辑,新增字幕加载和更新事件,删除不再使用的字幕切换事件 2024-09-14 17:30:22 +08:00
Harvey Zack 9b87f9661d feat: 优化字幕偏移逻辑,增加对模板的支持,修复字幕切换事件参数 2024-09-14 16:59:24 +08:00
Harvey Zack 2b11d897ff feat: 增加字幕相关属性和事件,优化字幕切换逻辑 2024-09-14 16:14:59 +08:00
Harvey Zack 3a2e7addd9 refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav 2024-08-23 10:43:09 +08:00
Harvey Zack 0374046606 refactor: Update loadedTime getter in Artplayer 2024-08-21 23:13:44 +08:00
Harvey Zack ce99b73d04 Add subtitle name to track label 2023-11-21 11:11:30 +08:00
Harvey Zack 3d8d22a98a Remove art.loop interval playback feature 2023-11-21 10:52:47 +08:00
Harvey Zack 59794f32c6 add art-subtitle-line 2023-09-01 21:27:59 +08:00
Harvey Zack 95ba1810b6 use || 2023-09-01 21:14:10 +08:00
Harvey Zack 894a9db1d7 add Artplayer.LOG_VERSION 2023-08-22 20:51:39 +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 43fda18f18 artplayer@4.6.2 2023-01-26 15:28:49 +08:00
Myon f8af7c88c3 fix firefox subtitle does not show (#415) 2022-11-05 11:53:41 +08:00
Harvey a5b035e031 update subtitle.js 2022-09-07 16:54:01 +08:00
Harvey 8d057080f1 fix ios subtitle 2022-09-07 16:45:05 +08:00
Harvey 1e460de2e8 remove screenfull.on('change') 2022-09-07 15:49:51 +08:00
Harvey 489b81bb43 Fix mobile subtitle 2022-09-07 15:38:53 +08:00
Harvey 8c9db3f302 add createElement 2022-08-18 09:40:33 +08:00
Harvey f160d8eb61 remove art.once('video:loadedmetadata') 2022-05-18 11:29:05 +08:00
Harvey e34d09a99c use async/await 2022-04-29 18:04:50 +08:00
Harvey Zack f95384b41a remove outline util 2022-04-28 07:19:48 +08:00
Harvey Zack 07edda2e22 add subtitle outline style 2022-04-23 17:15:14 +08:00
zhw2590582 c0321f660c 4.3.2 2022-03-16 22:49:04 +08:00
Harvey b4500e701f remove bilingual 2022-03-10 09:48:32 +08:00
Harvey fd8e763ae6 update 2022-02-11 11:20:54 +08:00
Harvey d919471838 Add more valid 2021-12-10 11:05:44 +08:00
Harvey 505c193331 update docs 2021-12-09 15:09:04 +08:00
Harvey b6055b202a Subtitle add url setter 2021-12-09 14:30:43 +08:00
Harvey 6098c7f7ba Optimize subtitle parameters 2021-12-09 11:46:35 +08:00
Harvey 090a1b6f7d add some polyfill to demo 2021-12-06 10:23:12 +08:00
Harvey a3a3f01bcc build all packages 2021-12-03 15:10:45 +08:00
Harvey 105608ee25 Fix some ie bug 2021-12-03 14:41:48 +08:00
zhw2590582 699ffece96 build all packages 2020-10-18 14:27:11 +08:00
Harvey deaa4fa13d 优化字幕传参 2020-09-04 12:44:50 +08:00
Harvey 92686dfcb6 修改字幕乱码 2020-09-04 12:02:54 +08:00
Harvey ed009f9d4d 支持字幕动态样式 2020-09-04 09:22:22 +08:00
Harvey 4718cd186b 简化事件 2020-05-22 13:23:28 +08:00
Harvey 50f51e413b fix subtitleOffset bug 2020-05-21 08:49:40 +08:00
Harvey 02915fcee5 重命名事件 2020-05-20 11:13:02 +08:00
Harvey 3e609bb153 fix ts 2020-05-19 13:35:54 +08:00
Harvey beea013daf 优化手机端UI 2020-05-15 10:28:38 +08:00
zhw2590582 43f68a3b68 add escape 2020-03-22 07:28:36 +08:00
Harvey 415a04a4a7 build all packages 2019-12-09 17:34:55 +08:00
Harvey 0cf455ced3 压缩字符 2019-11-28 10:56:53 +08:00
Harvey 5f40463713 压缩字符 2019-11-27 15:46:55 +08:00