Commit Graph
8 Commits
Author SHA1 Message Date
Harvey Zhao 7f185f698d fix(jassub): [PKG-JASSUB-09] checkpoint hybrid canvas ownership and frame completion 2026-09-14 02:50:55 +08:00
Harvey Zhao b4b0276fe9 fix(jassub): [PKG-JASSUB-08] transfer offscreen canvas before queued rendering 2026-09-14 02:29:12 +08:00
Harvey Zhao 0f3c068aae fix(jassub): [PKG-JASSUB-07] repair vendor lifecycle and subtitle frame clock 2026-09-14 02:17:24 +08:00
Harvey Zhao 5e445b1af6 refactor(jassub): [PKG-JASSUB-04] migrate owned TypeScript and preserve public types 2026-09-14 01:41:31 +08:00
Harvey Zhao 38e7b37878 refactor(jassub): [PKG-JASSUB-03] isolate registration and fix adapter cleanup 2026-09-14 01:12:03 +08:00
Harvey Zhao 1e60637b74 refactor: remove global window assignment for Artplayer and template export
- Removed the assignment of Artplayer to the global window object in index.js of the artplayer package.
- Eliminated the window export for the template plugin in index.js, streamlining the code and reducing global scope pollution.
2026-03-07 20:24:29 +08:00
Harvey Zhao f4d99eb09e Refactor code structure for improved readability and maintainability
feat: add JASSUB type definitions and update common.js references

feat: add JASSUB plugin for advanced subtitle rendering in HTML5 video

- Implemented a new JASSUB class for handling subtitle rendering with options for video and canvas targets.
- Added support for both synchronous and asynchronous rendering modes.
- Integrated Web Worker for offloading rendering tasks, improving performance.
- Included methods for managing subtitle tracks, styles, and events.
- Added color space verification and handling to ensure accurate subtitle display.
- Implemented local font access for enhanced typography options in subtitles.
- Introduced a benchmarking feature to assess rendering performance.

refactor: update README and type definitions for artplayer-plugin-jassub

- Removed installation and usage instructions from README.md for clarity.
- Updated index.js to remove direct assignment of jassub instance to art.
- Enhanced type definitions in artplayer-plugin-jassub.d.ts to include detailed JassubOption and JassubInstance interfaces.
2026-01-03 18:56:06 +08:00
Harvey Zhao fce3b33909 feat: add artplayer-plugin-jassub with initial implementation and documentation 2026-01-02 23:42:05 +08:00