fix: player.js

This commit is contained in:
Bobby 2022-04-20 19:29:35 +07:00
parent 43837cac20
commit cf9c4ce7cb
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -122,7 +122,7 @@ page.reloadVideo = () => {
page.player = videojs('video-js', options, () => {
let message = `Using video.js ${videojs.VERSION}`
if (isaudio) {
message += `with videojs-wavesurfer ${videojs.getPluginVersion('wavesurfer')} and wavesurfer.js ${WaveSurfer.VERSION}`
message += ` with videojs-wavesurfer ${videojs.getPluginVersion('wavesurfer')} and wavesurfer.js ${WaveSurfer.VERSION}`
}
videojs.log(message)
page.player.src({ src, type })