Commit Graph
11 Commits
Author SHA1 Message Date
Harvey Zhao 25a0c6303d test(ci): [CI-01] verify installed MediaBunny browser matrix 2026-09-15 03:07:20 +08:00
Harvey Zhao fb9fb23f53 refactor(mediabunny): [PKG-MB-08] finish typed media capability boundaries 2026-09-12 21:51:47 +08:00
Harvey Zhao 5e28dfee95 refactor(mediabunny): [PKG-MB-08] checkpoint typed entry and compatible media declarations 2026-09-12 21:31:34 +08:00
Harvey Zhao 8a2b56e829 refactor(mediabunny): [PKG-MB-07] own HLS selection intent and menu lifecycle 2026-09-12 20:51:31 +08:00
Harvey Zhao ccee9157a7 refactor(mediabunny): [PKG-MB-06] own audio clocks, buffers and context lifecycle 2026-09-12 20:21:25 +08:00
Harvey Zhao 9d037dcbf9 refactor(mediabunny): [PKG-MB-05] own video iterators, frame pools and rendering 2026-09-12 19:47:46 +08:00
Harvey Zhao 5d0b128483 refactor(mediabunny): [PKG-MB-04] isolate typed playback and readiness coordination 2026-09-12 19:00:21 +08:00
Harvey Zhao 9af253a5a9 refactor(mediabunny): [PKG-MB-04] checkpoint typed shim and event cleanup 2026-09-12 18:27:33 +08:00
Harvey Zhao adba8a3d12 refactor(mediabunny): [PKG-MB-03] type inputs and cancel owned loads 2026-09-12 18:08:37 +08:00
Harvey Zhao 9d760a2f59 refactor: remove architecture documentation and improve code readability
- Deleted ARCHITECTURE.md file to streamline project documentation.
- Refactored AudioEngine, EventTarget, MediaBunnyEngine, VideoEngine, VideoShim, and index.js for improved readability by adding consistent line breaks and spacing.
- Enhanced code structure by ensuring single-responsibility principles and clearer flow in methods.
- Updated TypeScript definitions for better clarity on options available in the artplayer-proxy-mediabunny package.
2026-01-01 17:25:21 +08:00
Harvey Zhao be44c1f8dd Enhance property handling in artplayerProxyMediabunny
- Updated the way properties from the shim instance and its prototype are retrieved.
- Replaced the for-in loop with a Set to ensure all properties, including inherited ones, are considered.
- Excluded the 'constructor' property from being added to the canvas.

refactor: remove unused utility functions and streamline event handling

- Deleted `videoEvents.js`, `clamp.js`, and `sleep.js` as they were not utilized.
- Introduced a new `EventTarget` class to manage event listeners more efficiently.
- Enhanced `MediaBunnyEngine`, `AudioEngine`, `VideoEngine`, and `VideoShim` to utilize the new event system.
- Updated type definitions in `artplayer-proxy-mediabunny.d.ts` to include new configuration options.
- Added comprehensive architecture documentation to clarify the structure and flow of the MediaBunny engine.
- Refactored the codebase for improved readability and maintainability, including better naming conventions and JSDoc comments.
2026-01-01 17:03:44 +08:00