{"_id":"@boldarialblack/multi-stream-player","_rev":"3-9471359446c595139fc4d0aa2e7cf999","name":"@boldarialblack/multi-stream-player","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@boldarialblack/multi-stream-player","version":"1.0.0","keywords":["vue","player","stream","hls","flv","webrtc"],"author":{"name":"BoldArialBlack"},"license":"MIT","_id":"@boldarialblack/multi-stream-player@1.0.0","maintainers":[{"name":"boldarialblack","email":"railchaplin@gmail.com"}],"homepage":"https://github.com/your-username/stream-player#readme","bugs":{"url":"https://github.com/your-username/stream-player/issues"},"dist":{"shasum":"93c4d2afa6d3cc3a95387b597944a62cd7095dd7","tarball":"https://registry.npmjs.org/@boldarialblack/multi-stream-player/-/multi-stream-player-1.0.0.tgz","fileCount":8,"integrity":"sha512-c/Fo2dGINh1VB2Ukt7gOz2AHqeDWwlc9zWoeZ8n/W2XkwW+Xv2jgUO2yfeQt3WDmQAGaLBpY88evSfLijbV9bg==","signatures":[{"sig":"MEYCIQCX53agt5UpMnpZkW9F8eyOv4x6NfZ1vtAhKidNdHkf6gIhAOzL8he9A/7Kly4v86alshAxkEHpP6yWhrjmjOJmKsd7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":243228},"main":"lib/stream-player.js","type":"module","module":"lib/stream-player.js","exports":{".":{"import":"./lib/stream-player.js","require":"./lib/stream-player.umd.cjs"},"./style.css":"./lib/style.css"},"scripts":{"dev":"vitepress dev docs --host","build":"vite build","preview":"vite preview","dev:demo":"vite --host","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"boldarialblack","email":"railchaplin@gmail.com"},"repository":{"url":"git+https://github.com/your-username/stream-player.git","type":"git"},"_npmVersion":"10.7.0","description":"流媒体播放器组件，支持多种流媒体协议(HLS、FLV、WebRTC)，提供对话框模式和自定义控制界面。","directories":{},"_nodeVersion":"18.20.4","dependencies":{"vue":"^3.3.4","flv.js":"^1.6.2","hls.js":"^1.6.13","element-plus":"^2.11.5","@element-plus/icons":"^0.0.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.5","eslint":"^9.38.0","globals":"^16.4.0","vitepress":"^1.6.4","@eslint/js":"^9.38.0","@eslint/json":"^0.13.2","@eslint/markdown":"^7.5.0","eslint-plugin-vue":"^10.5.1","@vitejs/plugin-vue":"^4.2.3","unplugin-element-plus":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/multi-stream-player_1.0.0_1764302063796_0.24291828308536378","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@boldarialblack/multi-stream-player","version":"1.0.1","keywords":["vue","player","stream","hls","flv","webrtc"],"author":{"name":"BoldArialBlack"},"license":"MIT","_id":"@boldarialblack/multi-stream-player@1.0.1","maintainers":[{"name":"boldarialblack","email":"railchaplin@gmail.com"}],"homepage":"https://github.com/your-username/stream-player#readme","bugs":{"url":"https://github.com/your-username/stream-player/issues"},"dist":{"shasum":"424e2f6af6bc88ac76617697b2c8c67e9a1bbfc6","tarball":"https://registry.npmjs.org/@boldarialblack/multi-stream-player/-/multi-stream-player-1.0.1.tgz","fileCount":8,"integrity":"sha512-HbmogeI53tSTfCVk3f3QBke/tD1AHegb4+GmdeV3nJO9KMaZC5/4y0OhFzPc9iDCMnGC9GHsvgsd+P6IJ3xjCw==","signatures":[{"sig":"MEQCIA+3AY9oiL2BEGcosJNpu74WDWq7gZXKoaEBgqUeLvYjAiBxAULUEhGhWc9dKBcMk3kGaqybAtgZzYdChssE3XAnFQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":912875},"main":"lib/stream-player.js","type":"module","module":"lib/stream-player.js","exports":{".":{"import":"./lib/stream-player.js","require":"./lib/stream-player.umd.cjs"},"./style.css":"./lib/style.css"},"scripts":{"dev":"vitepress dev docs --host","build":"vite build","preview":"vite preview","dev:demo":"vite --host","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"boldarialblack","email":"railchaplin@gmail.com"},"repository":{"url":"git+https://github.com/your-username/stream-player.git","type":"git"},"_npmVersion":"10.7.0","description":"流媒体播放器组件，支持多种流媒体协议(HLS、FLV、WebRTC)，提供对话框模式和自定义控制界面。","directories":{},"_nodeVersion":"18.20.4","dependencies":{"flv.js":"^1.6.2","hls.js":"^1.6.13","element-plus":"^2.11.5","@element-plus/icons-vue":"^2.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.5","eslint":"^9.38.0","globals":"^16.4.0","vitepress":"^1.6.4","@eslint/js":"^9.38.0","@eslint/json":"^0.13.2","@eslint/markdown":"^7.5.0","eslint-plugin-vue":"^10.5.1","@vitejs/plugin-vue":"^4.2.3","unplugin-element-plus":"^0.10.0"},"peerDependencies":{"vue":"^2.7.0 || ^3.0.0"},"peerDependenciesMeta":{"flv.js":{"optional":true},"hls.js":{"optional":true},"element-plus":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/multi-stream-player_1.0.1_1764310926247_0.8710021159485553","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@boldarialblack/multi-stream-player","description":"流媒体播放器组件，支持多种流媒体协议(HLS、FLV、WebRTC)，提供对话框模式和自定义控制界面。","version":"1.0.2","author":{"name":"BoldArialBlack"},"license":"MIT","type":"module","main":"lib/stream-player.js","module":"lib/stream-player.js","exports":{".":{"import":"./lib/stream-player.js","require":"./lib/stream-player.umd.cjs"},"./style.css":"./lib/style.css"},"repository":{"type":"git","url":"git+https://github.com/your-username/stream-player.git"},"homepage":"https://github.com/your-username/stream-player#readme","bugs":{"url":"https://github.com/your-username/stream-player/issues"},"keywords":["vue","player","stream","hls","flv","webrtc"],"publishConfig":{"access":"public"},"scripts":{"dev":"vitepress dev docs --host","dev:demo":"vite --host","build":"vite build","preview":"vite preview","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"peerDependencies":{"vue":"^2.7.0 || ^3.0.0"},"peerDependenciesMeta":{"element-plus":{"optional":true},"flv.js":{"optional":true},"hls.js":{"optional":true}},"dependencies":{"@boldarialblack/multi-stream-player":"^1.0.1","@element-plus/icons-vue":"^2.1.0","element-plus":"^2.11.5","flv.js":"^1.6.2","hls.js":"^1.6.13","mpegts.js":"^1.8.0"},"devDependencies":{"@eslint/js":"^9.38.0","@eslint/json":"^0.13.2","@eslint/markdown":"^7.5.0","@vitejs/plugin-vue":"^4.2.3","eslint":"^9.38.0","eslint-plugin-vue":"^10.5.1","globals":"^16.4.0","unplugin-element-plus":"^0.10.0","vite":"^4.4.5","vitepress":"^1.6.4"},"_id":"@boldarialblack/multi-stream-player@1.0.2","gitHead":"9c326ec41bb93f950fece9eb5c9fd8b0e43ca694","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-J5Jj1PJ68wNXl7O53OU7HpobPy5RREDYiK1/CHC0dZbBQte+nxfYXC+8/wpydcJiqxvok5VqNcOaGaDR5m6/Sg==","shasum":"aa237f7fe424ab4f3d04efc60b850c49863e9a92","tarball":"https://registry.npmjs.org/@boldarialblack/multi-stream-player/-/multi-stream-player-1.0.2.tgz","fileCount":8,"unpackedSize":2708107,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICccTlCMHS8NWjh48AzDw532yMwHLJfbhfdVPYYAVyKXAiEAynr6hZjwdGjG3jGWfHxbHBtgq+GmD6otnlXOoffo2YI="}]},"_npmUser":{"name":"boldarialblack","email":"railchaplin@gmail.com"},"directories":{},"maintainers":[{"name":"boldarialblack","email":"railchaplin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/multi-stream-player_1.0.2_1775637845623_0.44215895320089826"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-28T03:54:23.742Z","modified":"2026-04-08T08:44:06.035Z","1.0.0":"2025-11-28T03:54:23.982Z","1.0.1":"2025-11-28T06:22:06.474Z","1.0.2":"2026-04-08T08:44:05.903Z"},"bugs":{"url":"https://github.com/your-username/stream-player/issues"},"author":{"name":"BoldArialBlack"},"license":"MIT","homepage":"https://github.com/your-username/stream-player#readme","keywords":["vue","player","stream","hls","flv","webrtc"],"repository":{"type":"git","url":"git+https://github.com/your-username/stream-player.git"},"description":"流媒体播放器组件，支持多种流媒体协议(HLS、FLV、WebRTC)，提供对话框模式和自定义控制界面。","maintainers":[{"name":"boldarialblack","email":"railchaplin@gmail.com"}],"readme":"# 用法\n使用包管理器（如 NPM、Yarn 或 pnpm）安装\n```\nnpm install @boldarialblack/multi-stream-player --save\n```\n`@boldarialblack/multi-stream-player` 支持 Vue 2.7.0+ 和 Vue 3.0.0+\n\n## Vue 3 使用方式\n\n```javascript\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport StreamPlayer from '@boldarialblack/multi-stream-player'\nimport '@boldarialblack/multi-stream-player/style.css';\n\nconst app = createApp(App)\napp.use(StreamPlayer)\napp.mount('#app')\n```\n\n在组件中使用：\n\n```vue\n<template>\n  <div>\n    <!-- 直接使用组件 -->\n    <StreamPlayer :src=\"url\" />\n    \n    <!-- 或使用对话框模式 -->\n    <button @click=\"openPlayer\">打开播放器</button>\n  </div>\n</template>\n\n<script>\nexport default {\n  methods: {\n    openPlayer() {\n      this.$streamPlayer.open({\n        title: '播放器',\n        src: 'http://example.com/stream'\n      })\n    }\n  }\n}\n</script>\n```\n\n## Vue 2 使用方式\n\n```javascript\nimport Vue from 'vue'\nimport App from './App.vue'\nimport StreamPlayer from '@boldarialblack/multi-stream-player'\nimport '@boldarialblack/multi-stream-player/style.css';\n\nVue.use(StreamPlayer)\n\nnew Vue({\n  render: h => h(App)\n}).$mount('#app')\n```\n\n在组件中使用：\n\n```vue\n<template>\n  <div>\n    <!-- 直接使用组件 -->\n    <StreamPlayer :src=\"url\" />\n    \n    <!-- 或使用对话框模式 -->\n    <button @click=\"openPlayer\">打开播放器</button>\n  </div>\n</template>\n\n<script>\nexport default {\n  methods: {\n    openPlayer() {\n      this.$streamPlayer.open({\n        title: '播放器',\n        src: 'http://example.com/stream'\n      })\n    }\n  }\n}\n</script>\n```\n# 详细文档\n指路 ➡️ /docs/components/index.md\n\n# 快速开发\n想要了解或更改组件，运行命令行即可快速查看实时demo及文档\n```\n$ npm run dev\n```\n\n<!-- # Vue 3 + Vite\n\nThis template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. -->\n\n## Recommended IDE Setup\n\n- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).\n","readmeFilename":"README.md"}