Harvey Zack
3f0a1bd433
Refactor ASR plugin options and improve audio processing
...
- Renamed `hideTimeout` to `autoHideTimeout` for clarity.
- Updated the default options destructuring for better readability.
- Removed unnecessary comments and cleaned up the audio processing logic.
- Ensured that the audio buffer is processed correctly before sending to the `onAudioChunk` callback.
2025-05-23 10:08:20 +08:00
Harvey Zack
1ece90c582
Refactor code structure for improved readability and maintainability
2025-05-23 09:58:16 +08:00
Harvey Zack
4bdad1675b
fix: add stop method to AsrPluginInstance interface
2025-05-23 09:05:00 +08:00
Harvey Zack
9fdbdabd7c
Update index.js
2025-05-23 00:32:08 +08:00
Harvey Zack
5d7710979d
fix: rename cleanupTimeout to hideTimeout for consistency in ASR plugin
...
Refactor artplayerPluginAsr: Enhance audio capture and processing
- Introduced gainNode for audio output management.
- Added mediaStream and mediaStreamSource for fallback audio capture.
- Refactored startCapture and stopCapture functions for better clarity and error handling.
- Improved audio source setup with a dedicated function for capturing audio from video.
- Ensured proper disconnection of audio nodes and cleanup of resources on destroy.
feat: enhance ASR plugin with improved subtitle handling and styling
fix: rename autoClearTimer to hideTimer for consistency in ASR plugin
Update asr.js
feat: refactor ASR plugin to improve audio chunk handling and WebSocket management
Update asr.js
fix: rename autoClearTimeout to cleanupTimeout for consistency
Update asr.js
feat: refactor ASR handling and improve WebSocket management
Update index.js
feat: add append and clear functions to enhance audio chunk handling
Update asr.js
Update asr.js
feat: release version 2.0.0 of artplayer-plugin-asr
- Implemented core functionality for audio recording using AudioWorklet.
- Added support for configurable audio capture interval and sample rate.
- Introduced WAV encoding for recorded audio chunks.
- Created a new plugin structure with proper TypeScript definitions.
- Added legacy support for older environments.
- Updated package.json with necessary metadata and export configurations.
- Included comprehensive inline documentation for better maintainability.
2025-05-23 00:09:13 +08:00
Harvey Zack
6c4e9f7e78
fix: enhance user agent detection to support custom user agent
2025-05-17 22:16:08 +08:00
Harvey Zack
dd57cc2a03
add sourceMap
2025-04-21 09:54:32 +08:00
Harvey Zack
ab06749c15
remove sourceMap
2025-04-21 09:10:21 +08:00
Harvey Zack
c3343ad74f
Refactor code structure for improved readability and maintainability
2025-04-20 19:54:19 +08:00
Harvey Zack
2a7e3d5e03
add index.esm.html
2025-04-20 19:35:10 +08:00
Harvey Zack
a64e13c9c1
fix: update translation API and increase character limit for requests
2025-04-20 14:10:17 +08:00
Harvey Zack
674c6420e9
Refactor progress event handling in progress.js
...
- Moved the 'video:progress' event listener to be consistent with the RAF and timeupdate events.
- Ensured 'setBar' for 'loaded' is emitted during both RAF and video:progress events.
- Cleaned up the structure for better readability and maintainability.
2025-04-20 11:21:21 +08:00
Harvey Zack
9bdaaa3b7d
Update nodejs.yml
2025-04-20 10:15:56 +08:00
Harvey Zack
0aabb42db3
update deps
2025-04-20 10:12:14 +08:00
Harvey Zack
17ece4c0c8
Add Vietnamese localization for Artplayer
2025-04-20 09:55:38 +08:00
Suika
2aaef7db45
fix: correct type definition in Option ( #936 )
2025-04-12 11:02:33 +08:00
Thành Hoàng Trần
bc401159b6
feat: Vietnamese language support added ( #932 )
2025-04-09 10:10:03 +08:00
Harvey Zack
36865f1e7e
feat: 新增手势配置项,支持移动端手势事件
2025-03-22 11:55:09 +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
db5e9fc810
更新 artplayer-plugin-auto-thumbnail.js 版本至 1.0.1
2025-03-01 17:46:57 +08:00
Harvey Zack
4987579d92
Merge branch 'master' of https://github.com/zhw2590582/ArtPlayer
2025-03-01 17:45:58 +08:00
Harvey Zack
b4e5c712f5
更新 artplayer-plugin-auto-thumbnail 版本至 1.0.1
2025-03-01 17:44:27 +08:00
dependabot[bot]
518bc45af0
chore(deps-dev): bump vitepress from 1.2.3 to 1.6.3 ( #900 )
...
Bumps [vitepress](https://github.com/vuejs/vitepress ) from 1.2.3 to 1.6.3.
- [Release notes](https://github.com/vuejs/vitepress/releases )
- [Changelog](https://github.com/vuejs/vitepress/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vuejs/vitepress/compare/v1.2.3...v1.6.3 )
---
updated-dependencies:
- dependency-name: vitepress
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 09:36:45 +08:00
dependabot[bot]
b52ea6b146
chore(deps): bump @webav/av-cliper from 0.16.5 to 1.0.17 ( #907 )
...
Bumps [@webav/av-cliper](https://github.com/bilibili/WebAV ) from 0.16.5 to 1.0.17.
- [Changelog](https://github.com/bilibili/WebAV/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bilibili/WebAV/commits )
---
updated-dependencies:
- dependency-name: "@webav/av-cliper"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 09:36:33 +08:00
WeidiDeng
ff10f4f0a6
swap notice and seek event ( #899 )
2025-02-02 17:27:51 +08:00
Jealous
a8458b050b
fix: cancel video loading after destroying ( #883 )
2025-01-24 14:54:02 +08:00
Harvey Zack
4b4973eeb3
chore: 更新版本至 5.1.6,修复样式加载失败问题并优化样式插入逻辑
2025-01-19 20:50:26 +08:00
Harvey Zack
c89b9e7871
chore: 更新版本至 5.1.5,修复多个问题并增强移动端支持
5.2.2
2025-01-19 17:34:40 +08:00
Harvey Zack
fae71811db
feat: 添加对 Chromecast 状态和会话变化的监听支持
2025-01-19 14:28:03 +08:00
Harvey Zack
e7c31e55b3
feat: 添加对移动设备的支持并优化滑块事件处理
2025-01-18 16:44:04 +08:00
Harvey Zack
38ef03d31f
Update dom.js
2024-12-16 14:51:02 +08:00
Harvey Zack
ad0395fa37
Update artplayer-plugin-danmuku.d.ts
2024-12-16 10:43:21 +08:00
Harvey Zack
58b7eeb6e6
Update danmuku.md
2024-12-15 21:56:31 +08:00
Harvey Zack
9f4e6c3a1b
chore: 将 artplayer-plugin-ambilight 的选项属性改为可选
2024-12-07 18:08:04 +08:00
Harvey Zack
eb8cc22bf2
Update common.js
2024-11-30 10:42:28 +08:00
Harvey Zack
3a052a60e3
chore: 删除不再使用的 TypeScript 声明文件,并添加新的插件声明文件
2024-11-30 10:35:41 +08:00
Harvey Zack
57d6f25e5b
Update main.js
2024-11-26 10:06:29 +08:00
Harvey Zack
13d4fc9210
chore: 更新 hls.js 版本至 1.5.17
2024-11-24 22:11:12 +08:00
Harvey Zhao
38054536ed
Update index.js
2024-11-16 21:46:51 +08:00
Harvey Zhao
07de29c304
Update index.js
2024-11-12 23:26:28 +08:00
Harvey Zack
f685e1a7db
chore: 更新版本号至 5.2.2,并移除图片加载中的跨域设置
2024-10-28 15:53:26 +08:00
Harvey Zack
625f96534b
docs: 添加 proxy 选项说明,支持代理现有的 video DOM 元素
2024-10-27 11:50:01 +08:00
Harvey Zack
d3c66d8c44
Update index.js
2024-10-26 22:12:15 +08:00
Harvey Zack
d33d59720f
chore: 更新 CHANGELOG,新增 artplayer-plugin-dash-control 插件并修复相关问题
5.2.1
2024-10-26 15:54:31 +08:00
Harvey Zack
5e8047e33b
Merge remote-tracking branch 'origin/artplayer-plugin-dash-control'
2024-10-26 15:26:14 +08:00
dependabot[bot]
a7c45588fb
chore(deps): bump @webav/av-cliper from 0.14.15 to 0.16.4 ( #847 )
...
Bumps [@webav/av-cliper](https://github.com/bilibili/WebAV ) from 0.14.15 to 0.16.4.
- [Changelog](https://github.com/bilibili/WebAV/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bilibili/WebAV/commits )
---
updated-dependencies:
- dependency-name: "@webav/av-cliper"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 09:35:43 +08:00
Harvey Zack
11742b82dd
Refactor Control class to remove unnecessary loading.show assignments
2024-10-21 18:48:41 +08:00
Harvey Zack
cebbb6ec29
Refactor Control class to update control option variables and element references
2024-10-21 18:32:42 +08:00
Harvey Zack
bb3fc27427
Refactor Control class to update control option variables and element references
2024-10-21 18:26:06 +08:00
Harvey Zack
a01782732d
Refactor Control class to update control option variables and element references
2024-10-21 17:32:48 +08:00