https://github.com/moovie/moovie
An advanced HTML5 video player for MooTools.
https://github.com/moovie/moovie
html5-video-player mootools
Last synced: 3 months ago
JSON representation
An advanced HTML5 video player for MooTools.
- Host: GitHub
- URL: https://github.com/moovie/moovie
- Owner: moovie
- License: other
- Created: 2016-07-16T02:38:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T06:06:40.000Z (almost 8 years ago)
- Last Synced: 2026-01-23T11:35:09.130Z (4 months ago)
- Topics: html5-video-player, mootools
- Language: JavaScript
- Homepage: https://moovie.github.io/
- Size: 594 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 
[![Build Status][build-img]][build-url]
An advanced HTML5 video player for MooTools.
## Installation
You can include Moovie in your own project with [npm](https://www.npmjs.com/):
```bash
$ npm install moovie
```
Or include Moovie directly in your page using the [unpkg](https://unpkg.com/#/) cdn:
```html
```
```html
```
Alternatively, if you must, you can install Moovie using [Bower](https://bower.io/) as well:
```bash
$ bower install https://unpkg.com/moovie/bower.zip
```
**Important Notes:**
- *Installing with npm includes its own copy of MooTools. This can cause conflicts with other libraries when creating a web application in node.*
- *Bower has MooTools setup as a dependency in its configuration file.*
## Basic Usage
```js
// procedural-style
$$('video').toMoovie({
// shared options
autohideControls: false
});
// OOP-style
var player = new Moovie('avatar', {
// instance-specific options
debugger: true,
playlist: [
{
'id': 'alice',
'src': 'http://colinaarts.com/assets/alice.ogv'
},
{
'id': 'shrek',
'src': 'http://colinaarts.com/assets/shrek.ogv',
'title': 'Shrek Forever After theatrical trailer'
}
]
});
```
And in your HTML:
```html
```
## Contributing
> Please see [CONTRIBUTING](CONTRIBUTING.md).
> Copyright © 2010 [Colin Aarts](colin@colinaarts.com)
>
> Please see [LICENSE](LICENSE.md) for more information.
[build-url]: https://travis-ci.org/moovie/moovie
[build-img]: https://travis-ci.org/moovie/moovie.svg?branch=master