UNPKG

ps-tcplayer

Version:

Tencent Cloud Player component with Vue2/Vue3 compatibility

42 lines (39 loc) 1.22 kB
// 下一个 import PlayerNextComponent from "./PlayerNextComponent" // 上一个 import PlayPrevComponent from "./PlayPrevComponent" // 记忆播放 import MemoryPlayComponent from './MemoryPlayComponent' // 清晰度 import QualityComponent from './QualityComponent' // 倍速 import RateComponent from './RateComponent' // 跑马灯 import BulletScreenComponent from './BulletScreenComponent' // 倒计时下一小节 import CountdownComponent from './CountdownComponent' // 视频截图 import SnapshotComponent from './SnapshotComponent' // 网页全屏 import WebFullscreenComponent from './WebFullscreenComponent' // 宽屏显示 import WideScreenComponent from './WideScreenComponent' import ErrorReportComponent from './ErrorReportComponent' import ReportingComponent from './ReportingComponent' const TcPlayerComponent = { PlayerNextComponent, PlayPrevComponent, MemoryPlayComponent, // QualityComponent, RateComponent, BulletScreenComponent, CountdownComponent, SnapshotComponent, WebFullscreenComponent, WideScreenComponent, ErrorReportComponent, ReportingComponent, }; // 确保全局对象可访问 window.TcPlayerComponent = TcPlayerComponent export default TcPlayerComponent