Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Pong420/videojs-plus

Repository files navigation

VideoJS Plus

VideoJS Plus is an extension and skin for video.js.

Documentation

Installation

npm install videojs-plus
# or
yarn add videojs-plus

Usage

  • Include the correspone JS and CSS and

    <html>
      <head>
        <link rel="stylesheet" href="videojs-plus.css" />
      </head>
      <body>
        <video
          id="example-video"
          class="vjs-fluid"
          poster="http://vjs.zencdn.net/v/oceans.png"
        >
          <source src="http://vjs.zencdn.net/v/oceans.mp4" />
        </video>
      </body>
      <script src="http://vjs.zencdn.net/7.4.1/video.js"></script>
      <script src="videojs-plus.umd.js"></script>
      <script>
        const player = videojs('example-video');
      </script>
    </html>
  • React Hooks



License

See Apache 2.0.