Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to new more modern buildstreet
- Loading branch information
Showing
24 changed files
with
10,360 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
sudo: true | ||
dist: xenial | ||
language: node_js | ||
dist: trusty | ||
node_js: | ||
- 'stable' | ||
|
||
# Set up a virtual screen for Chrome and Firefox. | ||
# node version is specified using the .nvmrc file | ||
cache: npm | ||
before_install: | ||
- npm install -g greenkeeper-lockfile@1 | ||
before_script: | ||
- export CHROME_BIN=/usr/bin/google-chrome | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
|
||
- greenkeeper-lockfile-update | ||
after_script: | ||
- greenkeeper-lockfile-upload | ||
addons: | ||
apt: | ||
sources: | ||
- google-chrome | ||
packages: | ||
- google-chrome-stable | ||
firefox: latest | ||
chrome: stable | ||
services: | ||
- xvfb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
# CHANGELOG | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,63 @@ | ||
# videojs-ogvjs | ||
|
||
[![Current version](https://img.shields.io/npm/v/videojs-ogvjs.svg)](https://www.npmjs.com/package/videojs-ogvjs) [![Dependencies](https://img.shields.io/versioneye/d/nodejs/videojs-ogvjs.svg)](https://www.versioneye.com/nodejs/videojs-ogvjs) [![Build Status](https://travis-ci.org/hartman/videojs-ogvjs.svg?branch=master)](https://travis-ci.org/hartman/videojs-ogvjs) | ||
A Video.js Tech plugin for Ogv.js | ||
|
||
A [Video.js](https://www.videojs.com) Tech plugin for [Ogv.js](https://github.com/brion/ogv.js/). | ||
## Installation | ||
|
||
With this module, you can playback Ogg Vorbis/Theora file with the VideoJS player on browsers that do not support this format, like Safari and Internet Explorer. | ||
```sh | ||
npm install --save videojs-ogvjs | ||
``` | ||
|
||
Many thanks to the great work of the Video.js developers and to Brion Vibber for his relentless efforts to bring unencumbered video to the entire world. | ||
## Usage | ||
|
||
## Demo | ||
To include videojs-ogvjs on your website or web application, use any of the following methods. | ||
|
||
Try out [the demo](https://cdn.rawgit.com/hartman/videojs-ogvjs/v1.1.2/example.html) !! | ||
### `<script>` Tag | ||
|
||
This is the simplest case. Get the script in whatever way you prefer and include the plugin _after_ you include [video.js][videojs], so that the `videojs` global is available. | ||
|
||
```html | ||
<script src="//path/to/video.min.js"></script> | ||
<script src="//path/to/videojs-ogvjs.min.js"></script> | ||
<script> | ||
var player = videojs('my-video'); | ||
player.ogvjs(); | ||
</script> | ||
``` | ||
|
||
### Browserify/CommonJS | ||
|
||
When using with Browserify, install videojs-ogvjs via npm and `require` the plugin as you would any other module. | ||
|
||
```js | ||
var videojs = require('video.js'); | ||
|
||
// The actual plugin function is exported by this module, but it is also | ||
// attached to the `Player.prototype`; so, there is no need to assign it | ||
// to a variable. | ||
require('videojs-ogvjs'); | ||
|
||
var player = videojs('my-video'); | ||
|
||
player.ogvjs(); | ||
``` | ||
|
||
### RequireJS/AMD | ||
|
||
When using with RequireJS (or another AMD library), get the script in whatever way you prefer and `require` the plugin as you normally would: | ||
|
||
```js | ||
require(['video.js', 'videojs-ogvjs'], function(videojs) { | ||
var player = videojs('my-video'); | ||
|
||
player.ogvjs(); | ||
}); | ||
``` | ||
|
||
## License | ||
|
||
MIT and Apache-2.0 | ||
MIT. Copyright (c) Derk-Jan Hartman <hartman.wiki@gmail.com> | ||
|
||
|
||
[videojs]: http://videojs.com/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
850f854
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far so good; one thing I noticed is the way it's bundling ogv.js into the demo, the code ends being run in strict mode even where it wasn't originally defined that way. This causes a failure in IE with the Flash-based audio path, where some old legacy code was doing a trick with
arguments.callee
which throws in strict mode; this bit wasn't needed so I'm removing it upstream.850f854
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other thing that i'm running into a little bit with this version + ogv + RL module is the dynamic loading of ogv via ogvsupport + globals etc..
I even tried wrapping everything inside a webpack module, but the mixing of all the environments has me a bit flabbergasted honestly.