Skip to content

paidless/videojs-plus-plus

Repository files navigation

VideoJS Plus Plus

Inherit on videojs-plus.

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

Documentation

Installation

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

Usage

  • Include the correspone JS and CSS and

    <html>
      <head>
        <link rel="stylesheet" href="videojs-plus-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-plus.umd.js"></script>
      <script>
        const player = videojs('example-video');
      </script>
    </html>
  • React Hooks



License

See Apache 2.0.