Harvey Zack
e8a7e050c4
refactor: update version handling and remove placeholder injection
...
- Simplified version display in context menu and template by directly importing version from package.json.
- Removed static version and environment methods from Artplayer class, replacing them with dynamic imports.
- Eliminated placeholder injection logic from build and dev scripts, streamlining the build process.
- Cleaned up build and dev scripts for better readability and maintainability.
2025-06-20 11:04:29 +08:00
Harvey Zack
7e7bd8c0ad
Refactor version display in context menu and clean up versioning format
...
- Updated the context menu version function to dynamically append the application version to the link and include a ref parameter in the URL.
- Removed the build version log from the initialization logs in the Artplayer class.
- Cleaned up the version and environment getters to return unquoted strings.
2025-06-20 10:18:39 +08:00
Harvey Zack
da94223721
bump version to 5.2.4
2025-06-20 10:00:27 +08:00
Harvey Zack
2a7e3d5e03
add index.esm.html
2025-04-20 19:35:10 +08:00
Leo Wang and lion
dd0fba6eb4
feat: 新增配置项gesture,是否开启手势快进快退操作。 ( #919 )
...
Co-authored-by: lion <lion>
2025-03-22 11:46:05 +08:00
Harvey Zack
d3c66d8c44
Update index.js
2024-10-26 22:12:15 +08:00
Harvey Zack
5764344aaf
refactor: Update thumbnail scale in Artplayer
2024-08-23 12:05:06 +08:00
Harvey Zack
7f6c9c8ee1
refactor: Update video element in Artplayer to support custom canvas or video
2024-08-18 21:06:56 +08:00
Harvey Zack
7fa69a7de8
refactor: Update video element in Artplayer to support custom canvas or video
2024-08-18 20:46:53 +08:00
Harvey Zack
66010cb376
refactor: Update video element in Artplayer to support custom canvas or video
...
This commit updates the `libmedia.js`, `option.d.ts`, `index.js`, `template.js`, and `scheme/index.js` files in the Artplayer repository. The changes introduce a new `video` property in the `Option` type, allowing for the use of a custom video element in Artplayer. The `video` property can be set to `null`, an `HTMLCanvasElement`, or an `HTMLVideoElement`. This enhancement provides flexibility in rendering video content and improves compatibility with different platforms and use cases.
2024-08-18 18:39:14 +08:00
Harvey Zack
5a0b80b03e
feat: Add STYLE property to Artplayer class
2024-06-19 19:13:04 +08:00
Harvey Zack
780124d84b
Add new utility functions and update styles
2023-11-23 23:58:24 +08:00
Harvey Zack
29ff487547
Add isBrowser check in Artplayer initialization
2023-11-23 23:48:09 +08:00
Harvey Zack
ce99b73d04
Add subtitle name to track label
2023-11-21 11:11:30 +08:00
Harvey Zack
9efdab28b9
fix style
2023-09-10 11:18:20 +08:00
Harvey Zack
9ba838aa52
add Artplayer.USE_RAF
2023-08-26 00:03:26 +08:00
Harvey Zack
894a9db1d7
add Artplayer.LOG_VERSION
2023-08-22 20:51:39 +08:00
Harvey Zack
e3e42eb399
update docs
2023-05-13 21:57:45 +08:00
Harvey Zack
5959eb4669
build:all
2023-05-03 10:14:46 +08:00
Harvey Zack
88ae6d202c
update docs
2023-05-02 21:41:01 +08:00
Harvey Zack
ee49a0435e
V5 ( #509 )
...
* update artplayer.d.ts
* update variables.less
* update artplayerPluginControl
* build:all
* update docs
* update docs
* update docs
* Update layers.md
* update index.js
* update docs
* update docs
2023-04-23 13:50:30 +08:00
Harvey Zack
d34a6ba268
update property.js
2023-04-22 15:03:48 +08:00
Harvey Zack
fb445bf669
add DBCLICK_FULLSCREEN
2023-04-19 11:43:50 +08:00
Harvey Zack
f013f8604e
add CssVar
2023-04-17 22:11:06 +08:00
Harvey Zack
c4252b21b5
add documentInit
2023-04-17 22:04:57 +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
Harvey Zack
c733375d75
add FULLSCREEN_WEB_IN_BODY
2023-01-21 11:32:08 +08:00
Harvey Zack
8b515906f5
update CHANGELOG_CN.md
2023-01-14 14:55:03 +08:00
Harvey Zack
fa7954de0d
Artplayer vitepress ( #446 )
...
* init
* init
* update
* update
* update
* update
* update
* update
* add i18n option
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
2023-01-11 20:45:01 +08:00
Harvey Zack
417964d183
Fix typo DEBUG
2022-12-07 21:09:52 +08:00
Harvey Zack
6250936443
add Artplayer.CONTEXTMENU
2022-11-10 18:01:28 +08:00
Harvey Zack
3d72f2d95f
add Artplayer.PROGRESS_HEIGHT
2022-11-03 22:13:30 +08:00
Harvey Zack
6715bc457a
Playback rate ( #411 )
...
* update
2022-10-29 21:14:17 +08:00
Harvey
d2d0e2d8db
update d.ts
2022-10-09 16:48:20 +08:00
Harvey
500acc2444
add Artplayer.DEGUG
2022-10-08 09:51:49 +08:00
Harvey
af6e936854
add art.isRotate
2022-09-26 18:28:22 +08:00
Harvey
92ad45b976
add Artplayer.SEEK_STEP
2022-09-20 14:43:18 +08:00
Harvey
8c9db3f302
add createElement
2022-08-18 09:40:33 +08:00
Harvey
41c39284c5
add Artplayer.TOUCH_MOVE_RATIO
2022-07-28 17:49:24 +08:00
Harvey
62988f04e0
add option.id
2022-07-28 10:12:43 +08:00
Harvey Zack
bcd8010ade
update docs
2022-07-18 21:42:18 +08:00
Harvey
7e65d486bc
add Artplayer.AUTO_PLAYBACK_MIN
2022-07-14 10:23:45 +08:00
Harvey
fbd1d2170a
add airplay
2022-07-13 15:35:04 +08:00
Harvey
c09713d50f
artplayer@4.5.2
2022-06-22 16:58:46 +08:00
Harvey
7bbe1ed0be
remove ads
2022-06-20 10:09:20 +08:00
Harvey
2c5ba00521
add art.isLock
2022-05-16 13:09:08 +08:00
Harvey Zack
2b934ab988
add art.isInput
2022-05-15 07:42:28 +08:00
Harvey
13ffb722a1
add danmuku style
2022-05-05 23:27:15 +08:00
Harvey Zack
7ce17f90c4
artplayer@4.3.17
2022-05-02 16:27:25 +08:00