Files
ArtPlayer/packages/artplayer-tool-iframe/package.json
T
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

38 lines
1.1 KiB
JSON

{
"name": "artplayer-tool-iframe",
"version": "1.0.1",
"description": "Iframe tool for ArtPlayer",
"author": "Harvey Zhao <laozhaochaguan@gmail.com>",
"license": "MIT",
"homepage": "https://artplayer.org",
"repository": {
"type": "git",
"url": "git+https://github.com/zhw2590582/ArtPlayer.git"
},
"bugs": {
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
},
"keywords": [
"html5",
"video",
"player"
],
"exports": {
".": {
"types": "./types/artplayer-tool-iframe.d.ts",
"import": "./dist/artplayer-tool-iframe.mjs",
"require": "./dist/artplayer-tool-iframe.js"
},
"./legacy": {
"types": "./types/artplayer-tool-iframe.d.ts",
"import": "./dist/artplayer-tool-iframe.legacy.js",
"require": "./dist/artplayer-tool-iframe.legacy.js"
}
},
"main": "./dist/artplayer-tool-iframe.js",
"module": "./dist/artplayer-tool-iframe.mjs",
"types": "./types/artplayer-tool-iframe.d.ts",
"legacy": "./dist/artplayer-tool-iframe.legacy.js",
"browserslist": "last 1 Chrome version"
}