Neverending Puppy Marathon

    @xqui/video

    1.0.3 • Public • Published

    xq-video

    A web component video

    interface XqVideoProps {
      src: string,     // 视频地址
      poster?: string  // 视频封面
    }

    Usage

    import React from 'react';
    import '@xqui/video';
    
    function Foo() {
      return (
        <xq-video src="//pic.kuaizhan.com/g3/7e/6a/6b03-b5ba-44db-98a9-7945d3de752176.mp4"></xq-video>
      )
    }

    Keywords

    none

    Install

    npm i @xqui/video

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    6.25 kB

    Total Files

    5

    Last publish

    Collaborators

    • konglx