refactor: Remove unused libmedia proxy and related files

This commit is contained in:
Harvey Zack committed 2024-08-25 14:44:11 +08:00
1 parent 2fe7a09aaf
commit 63223c8202
10 files changed
-265

No files matched your search

@@ -1,11 +0,0 @@
# artplayer-proxy-libmedia
libmedia proxy for ArtPlayer
## Demo
[https://artplayer.org](https://artplayer.org/?libs=./uncompiled/artplayer-proxy-libmedia/index.js&example=libmedia)
## License
MIT © Harvey Zack
@@ -1,24 +0,0 @@
{
"license": "MIT",
"version": "1.0.0",
"name": "artplayer-proxy-libmedia",
"types": "types/artplayer-proxy-libmedia.d.ts",
"description": "libmedia proxy for ArtPlayer",
"main": "dist/artplayer-proxy-libmedia.js",
"legacy": "dist/artplayer-proxy-libmedia.legacy.js",
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
"browserslist": "last 1 Chrome version",
"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"
]
}
@@ -1,12 +0,0 @@
export default function artplayerProxyLibmedia(opt = {}) {
return (art) => {
const { option, constructor } = art;
const { createElement, def } = constructor.utils;
return document.createElement('video');
};
}
if (typeof window !== 'undefined') {
window['artplayerProxyLibmedia'] = artplayerProxyLibmedia;
}
@@ -1,12 +0,0 @@
import type Artplayer from 'artplayer';
export = artplayerProxyLibmedia;
export as namespace artplayerProxyLibmedia;
type Option = {
//
};
type Result = HTMLCanvasElement;
declare const artplayerProxyLibmedia: (option: Option) => (art: Artplayer) => Result;