Skip to content

TNTrocket/tntVideoPlayer

Repository files navigation

how to use

import tntPlayer from  'tntplayer'
import Vue from 'vue'

vue.use(tntplayer)



template

 <tntPlayer src='http://valipl.cp31.ott.cibntv.net/69761e385a138716df4246df1/03000801005D48E3B7CAB3A003E880CF7F51BC-F11F-492D-BEA1-7C2EF0101627.mp4?ccode=0502&duration=6151&expire=18000&psid=92ba6084f0cc6928b1a3025d2602514f&ups_client_netip=0e12ecaf&ups_ts=1569805573&ups_userid=&utid=ygHFEhflVFsCAXeDmKvjJxyH&vid=XNDI1ODU2NzYwOA%3D%3D&vkey=Ac33895213967107ed8727d74312a8d8d' />

props

type 为 'hls' 则开启流媒体模式

Releases

No releases published

Packages

No packages published