ps-tcplayer
Version:
Tencent Cloud Player component with Vue2/Vue3 compatibility
32 lines (29 loc) • 858 B
JavaScript
// 下一个
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'
const TcPlayerComponent = {
PlayerNextComponent,
PlayPrevComponent,
MemoryPlayComponent,
QualityComponent,
RateComponent,
BulletScreenComponent,
CountdownComponent,
SnapshotComponent,
};
// 确保全局对象可访问
window.TcPlayerComponent = TcPlayerComponent
export default TcPlayerComponent