0.0.5 • Published 7 years ago

goplayer v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

GoPlayer

NPM

GoPlayer is a web video player built for the purpose to be a stylish and functional library for other developers to use. It supports video playback on desktop and mobile platforms.

Table of Contents

Quick Start

There is a free hosted version of GoPlayer that anyone can use. Add these tags to your document's <head>:

<link href="//test.gostream.it/dist/goplayer.min.css" rel="stylesheet">
<script src="//test.gostream.it/dist/goplayer.min.js"></script>

Using GoPlayer is super easy using JavaScript:

var player = new GP.Player();

// append player element to the document
document.body.appendChild(player.el);

The Player class also accepts an additional options object parameter which can register callbacks for certain events and provide defaults for volume, etc...

var player = new GP.Player({
	events: {
		ready: function() {
			console.log("GoPlayer is ready!");
		}
	}
});

// append player element to the document
document.body.appendChild(player.el);

For more information about GoPlayer, the documentation is the best place to go.

Contributing

Want to file a bug, contribute some code, or improve documentation? We appreciate any help you can provide.

License

GoPlayer is licensed under the MIT License.

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago