Commit Graph
86 Commits
Author SHA1 Message Date
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 3715a36cde fix: correct spelling of "height" in icon HTML attributes across documentation 2025-06-20 09:56:18 +08:00
Harvey Zack 17ece4c0c8 Add Vietnamese localization for Artplayer 2025-04-20 09:55:38 +08:00
Harvey Zhao 38054536ed Update index.js 2024-11-16 21:46:51 +08:00
Harvey Zhao 07de29c304 Update index.js 2024-11-12 23:26:28 +08:00
Harvey Zack 395747f88f Refactor Artplayer class to update video URLs with query parameters 2024-10-21 11:49:14 +08:00
Harvey Zack 191c7736c4 Refactor Setting class to update range values 2024-10-20 13:28:39 +08:00
Harvey Zack 5764344aaf refactor: Update thumbnail scale in Artplayer 2024-08-23 12:05:06 +08:00
Harvey Zack 5959eb4669 build:all 2023-05-03 10:14:46 +08:00
Harvey Zack 9a08306c10 build all 2022-11-06 20:47:18 +08:00
Harvey Zack ecc54b7428 update style 2022-11-06 14:04:13 +08:00
Harvey fbd1d2170a add airplay 2022-07-13 15:35:04 +08:00
Harvey Zack fc978e9d85 添加滑动设置 2022-05-15 17:49:46 +08:00
Harvey Zack 7558d98116 Update index.js 2022-05-15 08:16:37 +08:00
Harvey 0aeb1262db fix demo 2022-05-13 12:42:27 +08:00
Harvey a6d144d555 Merge branch 'setting-switch' 2022-05-13 12:36:58 +08:00
Harvey d540b7f32e remove subtitle control 2022-05-13 10:07:54 +08:00
Harvey 7ff42596ef update docs 2022-05-12 18:33:02 +08:00
Harvey 62ce58330e update docs 2022-05-12 18:32:42 +08:00
Harvey 9cb8c56e4d add hint.less 2022-04-28 12:45:45 +08:00
Harvey 429753aa6e add autoPlayback 2022-04-25 15:38:26 +08:00
Harvey Zack 07edda2e22 add subtitle outline style 2022-04-23 17:15:14 +08:00
zhw2590582 b88e3be378 Update index.js 2022-03-16 22:20:13 +08:00
zhw2590582 4f10486987 add playsInline option 2022-03-16 22:02:28 +08:00
Harvey b284381534 update demo 2022-03-11 13:42:08 +08:00
Harvey b4500e701f remove bilingual 2022-03-10 09:48:32 +08:00
Harvey 5defc28505 Update index.js 2022-03-10 09:40:07 +08:00
Harvey 4bc97c5d37 update sample files 2022-03-10 09:24:24 +08:00
Harvey ce677ef602 4.3.1 2022-02-14 09:49:49 +08:00
zhw2590582 1de2d2aaed update setting 2022-02-11 20:23:27 +08:00
Harvey 5bd2de4179 update demo 2022-02-11 18:03:48 +08:00
Harvey 97b5d52a89 Update index.js 2022-02-11 15:35:38 +08:00
Harvey c0ed71881b update docs 2022-02-11 15:33:28 +08:00
Harvey 936617707f update type 2022-02-11 12:55:21 +08:00
Harvey 81e107d7ef update demo 2022-02-11 12:36:17 +08:00
Harvey 4d66a8538d update 2022-02-11 11:20:54 +08:00
Harvey a2b02f44cc update 2022-02-11 11:20:54 +08:00
Harvey 2d57f6d6d1 update 2022-02-11 11:20:54 +08:00
Harvey 030913dc48 update 2022-02-11 11:20:54 +08:00
Harvey 8ef45f2452 fix thumbnails option 2022-01-11 09:34:22 +08:00
Harvey 6098c7f7ba Optimize subtitle parameters 2021-12-09 11:46:35 +08:00
Harvey b6d3bb505b Update index.js 2021-12-03 14:17:12 +08:00
zhw2590582 05baa2c14d update demo svg 2021-11-30 21:39:50 +08:00
Harvey 61f36c795d add indicator icon 2021-11-29 13:27:21 +08:00
Harvey 4d6e56beb2 update demo 2021-11-29 10:48:45 +08:00
zhw2590582 6d6d78939d remove networkMonitor 2021-11-28 19:49:18 +08:00
zhw2590582 9cbfa63584 update 2021-11-28 14:31:26 +08:00
Harvey 3e593c4b09 删除多余文件 2021-11-24 14:27:29 +08:00
Harvey Zack bdd0b72bcc Update index.js 2021-08-17 09:29:01 +08:00
Harvey e6242df6d3 添加log插件demo 2021-08-03 14:23:08 +08:00