Skip to content

Commit

Permalink
controlbar fix for video.js 4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Mar 3, 2015
1 parent 64c5145 commit 26bb9ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion videojs.wavesurfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@
});

// videojs automatically hides the controls when no valid 'source'
// element is included in the 'audio' tag. Don't.
// element is included in the 'audio' tag. Don't.Ever again.
this.player().controlBar.show();
this.player().controlBar.el().style.display = 'block';

// disable play button until waveform is ready
// (except when in live mode)
Expand Down

0 comments on commit 26bb9ec

Please sign in to comment.