Commit Graph
162 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 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 a468cb2c39 refactor(build): [SITE-BUILD-01] stage outputs and stabilize documentation builds 2026-09-14 08:51:09 +08:00
Harvey Zhao 647f3e7f12 fix(docs): [SITE-LOAD-01] serialize example loading and preserve navigation 2026-09-14 07:52:32 +08:00
Mr.Hope cb69e4ad66 feat(artplayer-plugin-dash-control)!: support dash.js v5
- replace removed v4 APIs with their v5 equivalents:
  getRepresentationsByType / getCurrentRepresentationForType /
  setRepresentationForTypeByIndex
- bump dash.js CDN references from 4.5.2 to 5.2.1 (modern/umd build)
- rebuild dist, docs/compiled and docs/uncompiled artifacts
- regenerate vitepress docs
2026-09-10 15:58:17 +08:00
Harvey Zhao 23c8f46878 feat: add bun installation command to documentation 2026-04-04 10:35:07 +08:00
Harvey Zhao 92f09a4290 Refactor documentation for clarity and consistency
- Updated descriptions and terminology across various component documentation files for improved clarity.
- Changed headings and section titles for better readability and consistency.
- Enhanced the language and structure of the documentation to provide clearer guidance on usage and configuration.
- Removed the `fix-docs.js` script as its functionality has been integrated into the translation process.
- Improved the translation script to handle Markdown code block issues and added retry logic for API calls.
2026-03-08 13:15:13 +08:00
Harvey Zhao bd43b6638d feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples for usage.
- Added a new i18n setup guide, detailing language settings, default languages, and how to import and modify languages.
- Included code snippets for initializing the Artplayer with different languages and examples for adding new languages.
2026-03-07 21:16:49 +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 7bfee6c6dc feat: add build:test script and improve documentation code blocks
- Added a new script `build:test` to generate test cases from documentation code examples.
- Enhanced documentation files by ensuring proper code block formatting and adding missing closing backticks.
- Updated various markdown files to include new code blocks and fixed formatting issues.
2026-03-07 15:52:56 +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 c88aa97c0a fix: update plugin names for consistency in config.js 2026-01-04 15:44:37 +08:00
Harvey Zhao 24352e01c4 fix: correct capitalization in plugin links for consistency 2026-01-03 22:01:49 +08:00
Harvey Zhao fb7eddf433 Update config.js 2026-01-03 19:35:58 +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 86bbc95722 fix(docs): update language and formatting in documentation; remove danmuku plugin file 2025-11-29 22:26:42 +08:00
Harvey Zhao 47085d1275 feat: add new properties and methods to enhance player functionality and documentation 2025-11-29 22:12:38 +08:00
Harvey Zhao 0044053348 docs: add missing code block closures in documentation files 2025-10-09 09:15:10 +08:00
Harvey Zhao a516c0b204 feat: add link to LLMs resource in navigation 2025-10-08 14:14:00 +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
Harvey Zack 630b6b9d93 fix: update default value of FULLSCREEN_WEB_IN_BODY to true in documentation 2025-09-11 10:39:05 +08:00
Harvey Zack 5b1cebb334 feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples.
- Added comprehensive i18n setup instructions, including default language settings, language imports, and examples for adding and modifying languages.
- Updated the structure and content of the i18n documentation to enhance clarity and usability.
2025-09-06 13:48:25 +08:00
Harvey Zack cb3d391c34 feat: update version number in config and remove outdated links 2025-08-31 12:20:53 +08:00
Harvey Zack 06c00906c2 feat: add danmuku plugin documentation and i18n setup guide
- Created a new documentation file for the danmuku plugin with code examples.
- Added a comprehensive guide for language settings, including default languages, importing languages, adding new languages, and modifying existing languages.
- Updated the i18n documentation to reflect changes in language handling and provide code snippets for implementation.
2025-08-31 12:11:13 +08:00
Harvey Zack ddbcdbd459 feat: update script tag to setup and use shallowRef for Artplayer instance 2025-08-25 10:40:01 +08:00
Harvey Zack 745d2b4848 Refactor code structure for improved readability and maintainability 2025-08-24 12:21:06 +08:00
Harvey Zack c911928166 feat: add danmuku plugin documentation and i18n setup
- Created a new documentation file for the danmuku plugin with interactive code execution.
- Added comprehensive i18n setup instructions, including default language settings, language imports, and examples for adding and modifying languages.
- Introduced a test file to verify the integration of the danmuku plugin.
2025-08-17 12:09:50 +08:00
Harvey Zack 7d4175efbc feat: add Document Picture-in-Picture plugin for ArtPlayer
- Implemented the core functionality of the Document Picture-in-Picture plugin.
- Created main plugin file `artplayer-plugin-document-pip.js` with support for opening and closing the PIP window.
- Added legacy support in `artplayer-plugin-document-pip.legacy.js`.
- Defined plugin options in `package.json` and included necessary metadata.
- Developed the main logic in `src/index.js`, including style copying and event handling.
- Created TypeScript definitions in `types/artplayer-plugin-document-pip.d.ts` for better type safety.
2025-08-16 16:39:58 +08:00
Harvey Zack ea392e0d60 feat: update version to 5.1.7 and add custom userAgent documentation 2025-08-01 09:57:50 +08:00
Harvey Zack 3715a36cde fix: correct spelling of "height" in icon HTML attributes across documentation 2025-06-20 09:56:18 +08:00