Commit Graph
30 Commits
Author SHA1 Message Date
Harvey Zhao 8d2ec199d7 docs(core): [SITE-04] document event payloads and synchronous dispatch 2026-09-16 08:00:16 +08:00
Harvey Zhao 0a060e6088 docs(core): [SITE-04] clarify shared configuration and global timing 2026-09-16 07:38:15 +08:00
Harvey Zhao 9afbf9940d docs(core): [SITE-04] document public utility contracts 2026-09-16 07:27:34 +08:00
Harvey Zhao bd3f3c0689 docs(core): [SITE-04] document subtitle loading and resource ownership 2026-09-16 07:18:10 +08:00
Harvey Zhao de45f5b978 docs(core): [SITE-04] clarify plugin registration and lifecycle 2026-09-16 07:09:58 +08:00
Harvey Zhao 96962a69a4 fix(docs): [SITE-04] preserve structural chunks and clarify settings 2026-09-16 06:51:47 +08:00
Harvey Zhao bb2fec8dd1 docs(core): [SITE-04] document component lifecycle and selector contracts 2026-09-16 05:13:52 +08:00
Harvey Zhao 5910c3f179 docs(core): [SITE-04] document template and icon contracts 2026-09-16 05:00:45 +08:00
Harvey Zhao a1488f11bb docs(core): [SITE-04] clarify service contracts and hotkey examples 2026-09-16 04:45:05 +08:00
Harvey Zhao b029062ace docs(site): [SITE-04] cross-check existing plugin guide semantics 2026-09-16 04:28:32 +08:00
Harvey Zhao 4db9789014 docs(site): [SITE-04] document Canvas and Mediabunny proxies 2026-09-16 04:06:40 +08:00
Harvey Zhao 484a8c903c docs(site): [SITE-04] document Iframe and Thumbnail tools 2026-09-16 03:49:38 +08:00
Harvey Zhao 3aad294aa5 docs(site): [SITE-04] complete bilingual guides for JASSUB Mask and Cast 2026-09-16 03:37:35 +08:00
Harvey Zhao 558e946ae5 docs(site): [SITE-04] document Ads and VAST compatibility in both languages 2026-09-16 03:14:59 +08:00
Harvey Zhao 3317230f2e docs(site): [SITE-04] document thumbnail extraction and subtitle selection 2026-09-16 02:57:15 +08:00
Harvey Zhao 94adb77fd6 docs(site): [SITE-04] document PiP and ASR contracts in both languages 2026-09-16 02:45:57 +08:00
Harvey Zhao 3138812610 docs(site): [SITE-04] document chapter and ambilight contracts in both languages 2026-09-16 02:30:01 +08:00
Harvey Zhao 2983cb7c51 chore(release): [REL-09] prepare independent major versions and verified artifacts 2026-09-16 00:47:30 +08:00
Harvey Zhao 9ba3c82f99 docs(vtt): [SITE-VTT-01] add bilingual guides and sprite pixel checks 2026-09-15 19:06:44 +08:00
Harvey Zhao d3349e83f2 docs(audio): [SITE-AUDIO-01] add bilingual track guides and browser coverage 2026-09-15 18:48:07 +08:00
Harvey Zhao 319dccb605 docs(dash): [SITE-DASH-01] add bilingual guides and fix example lifecycle 2026-09-15 18:09:30 +08:00
Harvey Zhao 4ea0ba94ae docs(hls): [SITE-HLS-01] add bilingual guides and fix example SDK ownership 2026-09-15 17:55:11 +08:00
Harvey Zhao ea3174daa2 docs(danmuku): [SITE-DANMUKU-01] complete bilingual usage guides 2026-09-15 16:45:35 +08:00
Harvey Zhao 078cd9ef72 refactor(docs): [SITE-AI-DOCS-01] make generation offline and translation draft based 2026-09-14 08:22:44 +08:00
Harvey Zhao 3adff76edf feat: Enhance DeepSeek API integration with retries and timeout handling
- Updated API key environment variable from DEEPL_API_KEY to DEEPSEEK_API_KEY
- Increased maximum text chunk length from 5000 to 8000 characters
- Implemented request timeout and retry logic for API calls
- Added handling for rate limiting responses (HTTP 429)
- Improved error handling for API responses
2026-03-08 13:00:57 +08:00
Harvey Zhao 1c75731ca9 feat: introduce ArtplayerToolIframe for iframe control
- Removed the old ArtplayerPluginIframe implementation.
- Added ArtplayerToolIframe class with methods for iframe communication.
- Implemented postMessage and onMessage methods for message handling.
- Created a new TypeScript definition file for ArtplayerToolIframe.
- Updated documentation links to point to the new iframe tool.
- Added npm ignore file and README for the new package.
- Included compiled and uncompiled versions of the new iframe tool.
- Updated package.json with relevant metadata and exports.
2026-03-07 20:58:02 +08:00
Harvey Zhao c655f073ae feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples.
- Added comprehensive language settings documentation, including default languages, import instructions, and examples for adding and modifying languages.
- Updated the i18n documentation to reflect changes in language handling and provide clear examples for users.
2026-01-04 15:59:52 +08:00
Harvey Zhao fa2c69e83d feat: add React and Vue examples with Artplayer integration
- Implemented a React template with Vite, including ESLint configuration and necessary dependencies.
- Created a Vue template with Vite, including setup for Artplayer and plugins.
- Added internationalization support in both React and Vue examples.
- Included sample video and Danmuku plugin integration in both frameworks.
- Established project structure with appropriate configuration files and README documentation.
2026-01-03 14:08:31 +08:00
Harvey Zhao a3fd5d9343 Update llms.txt 2025-11-29 22:33:12 +08:00
Harvey Zhao 0a9aadf543 feat: add link to LLMs resource in README
Implement code changes to enhance functionality and improve performance

chore: add initial empty files for artplayer.d.ts, llm.txt, and build-llm.js

Refactor Artplayer examples for improved readability and consistency

- Updated mobile.js to enhance code formatting and structure.
- Refined mpegts.js for better readability and consistency in function usage.
- Improved multiple.subtitles.js with clearer structure and modern syntax.
- Enhanced setting.test.js for better organization and clarity in settings management.
- Streamlined thumbnail.js for consistent formatting.
- Updated vast.js for improved readability and consistency in plugin usage.
- Refined vtt.thumbnail.js for better code organization.
- Enhanced webtorrent.js for improved readability and consistency in async handling.
- Updated TypeScript definitions for various plugins to maintain consistency in export statements.
- Adjusted package.json linting script to include TypeScript files in the docs/assets/ts directory.
- Removed outdated types.test.js file to clean up the test suite.

refactor: remove outdated documentation files and update translation script

- Deleted i18n.md and option.md documentation files as they are no longer needed.
- Updated trans-docs.js to streamline the translation process and improve error handling.
- Adjusted plugin template package.json for consistency.
- Changed console.log to console.warn in various test files for better logging practices.

feat: add danmaku plugin documentation and i18n support

- Introduced comprehensive documentation for the Danmaku library, including installation, usage examples, and configuration options.
- Added language settings documentation, highlighting the need for manual language imports starting from version 5.1.0.
- Updated basic options documentation with detailed descriptions and examples for player configuration options.

Refactor documentation for clarity and consistency; update translation script to handle large Markdown chunks

refactor: improve documentation clarity and consistency across various components

- Updated property descriptions in layers.md and setting.md for better readability.
- Enhanced language and structure in index.md, danmuku.md, i18n.md, and option.md to ensure uniformity.
- Corrected minor grammatical errors and improved phrasing throughout the documentation.
- Ensured consistent formatting in tables and code snippets for better user experience.

feat: add build script for generating llm.txt and update translation source directories

Refactor build-llm.js to improve concurrency and enhance prompt clarity

- Introduced a MAX_CONCURRENT_REQUESTS constant to manage concurrent API requests.
- Added a runConcurrent function to handle task execution with a limit on concurrent requests.
- Updated the askDeepSeek function to include more informative logging.
- Enhanced prompts for summarizing documentation, TypeScript definitions, and JavaScript examples to improve clarity and maintain formatting.
- Modified the main function to fetch files concurrently and streamline the summarization process.

Increase text chunk size from 5000 to 8000 in summarizeSection function for improved processing of larger files.

fix: update lint script to include .js files in the scripts directory
2025-10-08 12:20:12 +08:00