Skip to content

Commit

Permalink
Prep for 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shimberger committed Dec 28, 2016
1 parent 5da813a commit c3699ff
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 127 deletions.
317 changes: 191 additions & 126 deletions bindata.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ui/src/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ gulp.task('html', function () {
gulp.task('vendor:css', function() {
return gulp.src([
'node_modules/bootstrap/dist/css/bootstrap.css',
// 'node_modules/videojs-airplay/dist/videojs.airplay.css',
])
.pipe(concat('vendor.css'))
.pipe(gulp.dest('../build/css/'));
Expand All @@ -55,6 +56,7 @@ gulp.task('vendor:js', function() {
'node_modules/jquery/dist/jquery.min.js',
'node_modules/video.js/dist/video.min.js',
'node_modules/videojs-contrib-hls/dist/videojs-contrib-hls.min.js',
// 'node_modules/videojs-airplay/dist/videojs.airplay.js',
'node_modules/moment/min/moment.min.js',
'node_modules/bootstrap/dist/css/bootstrap.min.js',
'node_modules/history/umd/history.min.js',
Expand Down
6 changes: 5 additions & 1 deletion ui/src/jsx/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ var Player = React.createClass({

componentDidMount() {
this.video = ReactDOM.findDOMNode(this._video);
this.player = videojs(this.video);
$(this.video).attr('x-webkit-airplay','allow');
$(this.video).attr('airplay','allow');
this.player = videojs(this.video,{
plugins: { airplayButton: {} }
});
this.player.play();
},

Expand Down

0 comments on commit c3699ff

Please sign in to comment.