Harvey Zack
157d28a647
refactor: simplify artplayerProxyCanvas implementation and improve event handling
2024-09-17 09:38:57 +08:00
Harvey Zack
c0a280a6e8
fix: remove error throwing in artplayerProxyCanvas
2024-09-15 11:57:26 +08:00
Harvey Zack
2ba1b7d77a
fix: artplayerProxyCanvas
2024-09-15 11:05:56 +08:00
Harvey Zack
a74e7bbff4
feat: createImageBitmap
2024-09-15 10:56:51 +08:00
Harvey Zack
710f9477f8
feat: artplayerProxyCanvas
2024-09-15 10:39:11 +08:00
Harvey Zack
22dce779d1
update controls
2024-09-15 00:24:02 +08:00
Harvey Zack
400ab2f9c4
fix drawImage
2024-09-15 00:15:03 +08:00
Harvey Zack
278119068c
feat: 移除不必要的日志输出,优化视频元素的创建逻辑,增加视频播放时的内联属性
2024-09-15 00:03:32 +08:00
Harvey Zack
d4a868621f
feat: 重命名渲染函数,优化绘制逻辑,增加绘制事件的日志输出
2024-09-14 23:33:30 +08:00
Harvey Zack
f867a97032
feat: 重构视频帧绘制逻辑,优化渲染流程,增加视频播放和暂停事件的日志输出
2024-09-14 18:32:37 +08:00
Harvey Zack
211e9d22a2
feat: 增加动态设置字幕偏移功能,更新相关文档
2024-09-14 17:37:47 +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
36b2c80666
add restoreInit
2024-09-14 16:48:30 +08:00
Harvey Zack
2b11d897ff
feat: 增加字幕相关属性和事件,优化字幕切换逻辑
2024-09-14 16:14:59 +08:00
Harvey Zack
a0b6af32d0
Refactor artplayer-proxy-canvas to use requestAnimationFrame for frame drawing
2024-09-11 18:48:33 +08:00
Harvey Zack
c81364ca9a
add sleep
2024-09-08 19:43:04 +08:00
Harvey Zack
c8b5282af9
feat: Add sleep function for delayed frame drawing in artplayer-proxy-canvas
2024-09-08 18:53:00 +08:00
Harvey Zack
7bf8a00a7d
chore: Update artplayer-proxy-canvas to support canvas proxy
2024-09-08 18:46:02 +08:00
Harvey Zack
a4be7b0ee6
feat: Update artplayer-proxy-canvas to support canvas proxy
2024-09-08 18:28:39 +08:00
Harvey Zack
813528f916
chore: Update artplayer-proxy-canvas to support canvas proxy
2024-09-08 18:20:11 +08:00
Harvey Zack
0f60ea53ae
chore: Update artplayer-proxy-canvas to support canvas proxy
2024-09-08 18:05:06 +08:00
Harvey Zack
69133015e9
chore: Update auto.thumbnail.js and index.js
2024-09-01 12:14:53 +08:00
Harvey Zack
a33df191a4
feat: Add artplayer-plugin-auto-thumbnail plugin
2024-09-01 12:05:08 +08:00
Harvey Zack
c44ec85ed2
refactor: Update artplayer-plugin-vtt-thumbnail version to 1.0.3
2024-08-31 12:02:16 +08:00
Harvey Zack
44171beb3a
refactor: Update artplayer-plugin-vtt-thumbnail
2024-08-31 11:54:34 +08:00
Harvey Zack
63223c8202
refactor: Remove unused libmedia proxy and related files
2024-08-25 14:44:11 +08:00
Harvey Zack
4d43fffa87
refactor: Remove unused variables in VAST plugin
2024-08-23 23:27:09 +08:00
Harvey Zack
87b0506f51
refactor: Update VAST plugin in Artplayer
2024-08-23 23:23:50 +08:00
Harvey Zack
f9192ff852
refactor: Update VAST plugin in Artplayer
2024-08-23 22:42:04 +08:00
Harvey Zack
d2de5297d6
refactor: Update autoPlayback plugin in Artplayer
2024-08-23 16:20:25 +08:00
Harvey Zack
27f161be40
refactor: Update thumbnail scale and video element resizing logic in Artplayer and artplayer-proxy-webav
2024-08-23 12:37:32 +08:00
Harvey Zack
1ee80cf012
refactor: Remove unused loadImg function in Artplayer
2024-08-23 12:06:49 +08:00
Harvey Zack
5764344aaf
refactor: Update thumbnail scale in Artplayer
2024-08-23 12:05:06 +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
6f6d49bbae
refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav
2024-08-22 18:29:23 +08:00
Harvey Zack
1d0139ee35
refactor: Improve video element resizing logic in Artplayer and artplayer-proxy-webav
2024-08-22 11:41:59 +08:00
Harvey Zack
71a1126aae
Revert "refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav"
...
This reverts commit 77a3438e2d .
2024-08-22 11:38:24 +08:00
Harvey Zack
77a3438e2d
refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav
2024-08-22 11:13:10 +08:00
Harvey Zack
52e424ad52
refactor: Update video element in Artplayer to support custom canvas or video
2024-08-22 00:21:23 +08:00
Harvey Zack
5bbbaa398e
refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav
2024-08-22 00:09:03 +08:00
Harvey Zack
5e37979e8f
refactor: Update video element in Artplayer to support custom canvas or video
2024-08-21 23:44:01 +08:00
Harvey Zack
ced8fb4fb1
refactor: Update video element in Artplayer to support custom canvas or video
2024-08-21 23:35:17 +08:00
Harvey Zack
984755b442
```text
...
refactor: Update animation frame handling in artplayer-proxy-webav
The code changes replace the use of `requestAnimationFrame` with `setInterval` in the `start` function of `artplayer-proxy-webav`. This change improves the performance and stability of the animation frame handling, ensuring a smoother playback experience.
2024-08-21 23:29:38 +08:00
Harvey Zack
0374046606
refactor: Update loadedTime getter in Artplayer
2024-08-21 23:13:44 +08:00
Harvey Zack
796f25cea2
refactor: Update loadedTime getter in Artplayer
...
The code changes update the loadedTime getter in Artplayer to handle different scenarios. The getter now checks for the presence of the loadedTime property in the video element and returns it if available, otherwise it falls back to the previous logic of retrieving the buffered end time. This update improves the reliability and compatibility of Artplayer's loadedTime functionality.
2024-08-21 22:28:00 +08:00
Harvey Zack
0a7d3ca5aa
refactor: Update loadedTime and playing getters in Artplayer
2024-08-21 22:10:24 +08:00
Harvey Zack
8613164368
refactor: Update loadedTime and playing getters in Artplayer
...
The code changes update the loadedTime and playing getters in Artplayer to handle different scenarios. The loadedTime getter now checks for the presence of the loadedTime property in the video element and returns it if available, otherwise it falls back to the previous logic of retrieving the buffered end time. Similarly, the playing getter now checks for the presence of the playing property in the video element and returns it if available, otherwise it falls back to the previous logic of determining if the video is playing based on its current time, paused state, ended state, and ready state. These updates improve the reliability and compatibility of Artplayer's loadedTime and playing functionality.
2024-08-21 21:56:08 +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