Player

视频播放器,修改自eplayer

Usage

  1. <script src="https://tencent.github.io/omi/packages/omi/dist/omi.js"></script>
  2. <script src="../../src/player/index.js"></script>
  3. <div style="margin:20px auto;width:800px;height:450px;">
  4. <m-player
  5. src="https://gss3.baidu.com/6LZ0ej3k1Qd3ote6lo7D0j9wehsv/tieba-smallvideo/607272_2fc490269fcdf87707804278a309891a.mp4">
  6. </m-player>
  7. </div>

or

  1. import 'omim/player'
  2. //using tag anywhere
  3. <m-player
  4. src="https://gss3.baidu.com/6LZ0ej3k1Qd3ote6lo7D0j9wehsv/tieba-smallvideo/607272_2fc490269fcdf87707804278a309891a.mp4">
  5. </m-player>

谁在使用?

API

Props

  1. {
  2. src: string
  3. }