1.3.28 • Published 6 years ago

@krad/plainview v1.3.28

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

plainview

Build Status

plainview is a no frills HTML5 video player for HLS content.

It is designed to behave like a standard video/audio tag (Hence the name 'plain view').

It relies on the slugline library for consuming playlists and parsing their media segments. plainview isn't quite a polyfill, but if you squint it may resemble one.

Customizing plainview is incredibly easy. It provides a number of functions for controlling playback and a number of events to hook into. This lends itself to it being useful in a number of environments. If you just need a vanilla plugin, it will work. If you're using react, it will also work.

Here is a react component demonstrating how you can skin the player: COMING SOON

Here is a vanilla example showing how plainview can play different types of HLS playlists: COMING SOON

Testing

plainview uses tape, tap-spec browserify, babelify, and testling to run a suite of in browser tests.

tape, tap-spec, and babelify are the only libraries packaged as development dependencies. The other tools need to be available on the system.

To setup an environment for testing, run the following:

npm install
npm install browserify testling -g

After the above commands have successfully completed you can then run:

npm t
1.3.28

6 years ago

1.3.27

6 years ago

1.3.26

6 years ago

1.3.25

6 years ago

1.3.24

6 years ago

1.3.23

6 years ago

1.3.22

6 years ago

1.3.21

6 years ago

1.3.20

6 years ago

1.3.19

6 years ago

1.3.18

6 years ago

1.3.17

6 years ago

1.3.16

6 years ago

1.3.14

6 years ago

1.3.13

6 years ago

1.3.12

6 years ago

1.3.11

6 years ago

1.3.10

6 years ago

1.3.9

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.0.0

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago