Skip to content

Commit

Permalink
include wavesurfer.js version nr in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Oct 4, 2018
1 parent 719c905 commit ff3c377
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 16 deletions.
5 changes: 3 additions & 2 deletions examples/audio-only.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' + videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);
});

Expand Down
5 changes: 3 additions & 2 deletions examples/change-audio-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' + videojs-wavesurfer' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);

// enumerate devices at startup
Expand Down
5 changes: 3 additions & 2 deletions examples/change-audio-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' + videojs-wavesurfer' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);

// enumerate devices at startup
Expand Down
5 changes: 3 additions & 2 deletions examples/enumerate-devices.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' + videojs-wavesurfer' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);
});

Expand Down
3 changes: 2 additions & 1 deletion examples/plugins/audio-only-mp3.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer');
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and wavesurfer.js ' + WaveSurfer.VERSION;
videojs.log(msg);
});

Expand Down
3 changes: 2 additions & 1 deletion examples/plugins/audio-only-ogg.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer');
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and wavesurfer.js ' + WaveSurfer.VERSION;
videojs.log(msg);
});

Expand Down
3 changes: 2 additions & 1 deletion examples/plugins/audio-only-opus.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer');
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and wavesurfer.js ' + WaveSurfer.VERSION;
videojs.log(msg);
});

Expand Down
3 changes: 2 additions & 1 deletion examples/plugins/audio-only-recorderjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer');
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and wavesurfer.js ' + WaveSurfer.VERSION;
videojs.log(msg);
});

Expand Down
5 changes: 3 additions & 2 deletions examples/upload/fine-uploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);
});

Expand Down
5 changes: 3 additions & 2 deletions examples/upload/jquery.fileupload.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@
// print version information at startup
var msg = 'Using video.js ' + videojs.VERSION +
' with videojs-record ' + videojs.getPluginVersion('record') +
' and videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
' and recordrtc ' + RecordRTC.version;
', videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') +
', wavesurfer.js ' + WaveSurfer.VERSION + ' and recordrtc ' +
RecordRTC.version;
videojs.log(msg);
});

Expand Down

0 comments on commit ff3c377

Please sign in to comment.