Commit Graph
87 Commits
Author SHA1 Message Date
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 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 0fce9f5ffe Update common.js 2024-06-02 14:01:08 +08:00
Harvey Zack 0f7a3ce02c chore: Update window object property name to ArtplayerPluginVast 2024-06-02 12:37:30 +08:00
Harvey Zhao fac7d15726 Vast (#762)
* add artplayer-plugin-vast

* chore: Add create:plugin script to package.json

* chore: Remove deprecated artplayer-plugin-{{name}} and artplayer-plugin-vast types

* chore: Update artplayer-plugin-vast package description

* chore: Update Prettier configuration and dependencies
2024-06-02 12:28:17 +08:00
Harvey Zack a8151ba4fb chore: Update webtorrent.js link in navigation bar 2024-05-31 10:13:45 +08:00
Harvey Zack c1edb1ac6e chore: Update checkbox labels and improve code editor functionality 2024-05-28 11:11:31 +08:00
Harvey Zack e53c051166 chore: Update plugin names to use proper capitalization 2024-05-27 11:37:27 +08:00
Harvey Zack 43309b72cf Update common.js 2024-05-27 11:19:59 +08:00
Harvey Zack c1d86cc029 Update checkbox styling and add PRO checkbox 2023-12-11 16:50:28 +08:00
Harvey Zack 52e4564776 Replace video file format in common.js 2023-11-27 09:59:52 +08:00
Harvey Zack 4a088aebc4 update demo 2023-05-18 12:31:48 +08:00
Harvey Zack 8ff35b5f6f update demo 2023-05-03 11:08:49 +08:00
Harvey Zack 5ba1569f67 update demo 2023-04-30 13:37:34 +08:00
Harvey Zack 417964d183 Fix typo DEBUG 2022-12-07 21:09:52 +08:00
Harvey Zack aef5083fcb update vconsole 2022-11-08 08:19:48 +08:00
Harvey Zack cb51568f7f update demo 2022-10-30 11:02:49 +08:00
Harvey Zack e0351a7b93 Update common.js 2022-10-10 20:59:37 +08:00
Harvey e57be9ff2e update demo 2022-10-09 18:14:54 +08:00
Harvey 0736b7e4d2 add ts to demo 2022-10-09 18:03:23 +08:00
Harvey 500acc2444 add Artplayer.DEGUG 2022-10-08 09:51:49 +08:00
Harvey 8c9db3f302 add createElement 2022-08-18 09:40:33 +08:00
Harvey 429753aa6e add autoPlayback 2022-04-25 15:38:26 +08:00
Harvey Zack b0a5c2df1c Create mobile.js 2022-04-23 10:33:19 +08:00
Harvey 87e7b87a1f add lock state 2022-04-23 09:10:28 +08:00
Harvey b22906e0fa add lock 2022-04-22 16:25:51 +08:00
Harvey b3e3d2fe62 add setting to mobile demo 2022-03-23 17:09:07 +08:00
zhw2590582 4f10486987 add playsInline option 2022-03-16 22:02:28 +08:00
Harvey 8898ab0078 update mobile demo 2022-03-10 18:33:42 +08:00
Harvey 3a3246ee3f update gestureInit 2022-03-10 18:22:40 +08:00
zhw2590582 1684c2c7e6 Create SourceHanSansCN-Medium.otf 2022-03-09 20:53:39 +08:00
zhw2590582 d43e4540fb update JavascriptSubtitlesOctopus 2022-03-09 20:43:47 +08:00
Harvey 08a29d5cb0 Create subtitles-octopus-worker-legacy.js 2022-03-07 14:35:10 +08:00
Harvey da5e4de861 add JavascriptSubtitlesOctopus to demo 2022-03-07 14:32:50 +08:00
Harvey f7f4899926 Update mobile.js 2022-02-11 12:56:27 +08:00
Harvey b3208934f4 update mobile demo 2022-01-17 09:08:33 +08:00
Harvey d33a7229a9 update mobile demo 2022-01-10 09:42:37 +08:00
Harvey 072ba6e703 4.1.4 2021-12-31 18:20:51 +08:00
Harvey d6ea0b2355 update mobile demo 2021-12-31 18:14:30 +08:00
Harvey 9ba7a87fcf Update mobile.js 2021-12-31 18:05:44 +08:00
Harvey 6cb75858bb add autoHeight option 2021-12-31 13:30:59 +08:00
Harvey 25631ebe25 Update mobile.js 2021-12-13 11:02:06 +08:00
Harvey 5857077d09 Update common.js 2021-12-08 18:28:46 +08:00
Harvey 6b8e92681e demo bugFix 2021-12-08 14:57:50 +08:00
Harvey 3b138f126b Update common.js 2021-12-08 14:28:29 +08:00
Harvey 9e2c725dd1 update demo 2021-12-08 14:23:04 +08:00
Harvey 0e0bdd00dd Add ts to demo 2021-12-08 14:01:42 +08:00
Harvey 3567a487f0 update demo 2021-12-08 12:43:34 +08:00
Harvey 09fbbe5b0d Use monaco editor in demo 2021-12-08 11:48:56 +08:00