You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the awesome plugin. I'm trying to clone the video with a selected range but after initialize the plugin with the cloned div I get this error.
Here's my code that I append to your demo.html
function cloneVideo() {
var rand = Math.floor(Math.random() * 100) + 1;
var $video = $('<video></video>')
.addClass('video-js vjs-default-skin')
.attr('id', 'klon' + rand)
.attr('controls', true)
.attr('width', 640)
.attr('height', 264)
.attr('poster', 'http://video-js.zencoder.com/oceans-clip.png');
var $source = $('<source></source>')
.attr('src', 'http://video-js.zencoder.com/oceans-clip.mp4')
.attr('type', 'video/mp4');
$video.append($source);
$('body').append($video);
var options ={hidden:false, locked:false},
clonedPlayer = videojs('klon' + rand);
clonedPlayer.rangeslider(options);
clonedPlayer.play();
clonedPlayer.unlockSlider();
var start = document.getElementById('Start').value;
var end = document.getElementById('End').value;
clonedPlayer.loopBetween(start, end);
}
Then I get these errors
Loaded Plugin RangeSlider
rangeslider.js:96 Loaded Plugin RangeSlider
rangeslider.js:1011 Uncaught TypeError: Cannot read property 'ctpl' of undefinedvideojs.ControlTimePanel.enable @ rangeslider.js:1011RangeSlider.unlock @ rangeslider.js:169videojs.Player.unlockSlider @ rangeslider.js:407cloneVideo @ demo.html:104onclick @ demo.html:118
14rangeslider.js:564 Uncaught TypeError: ctd.localize is not a functionvideojs.SeekRSBar.onMouseMove @ rangeslider.js:564a @ video.min.js:1d.dispatcher @ video.min.js:1
rangeslider.js:96 Loaded Plugin RangeSlider
rangeslider.js:1011 Uncaught TypeError: Cannot read property 'ctpl' of undefinedvideojs.ControlTimePanel.enable @ rangeslider.js:1011RangeSlider.unlock @ rangeslider.js:169videojs.Player.unlockSlider @ rangeslider.js:407cloneVideo @ demo.html:104onclick @ demo.html:118
46rangeslider.js:564 Uncaught TypeError: ctd.localize is not a function
The text was updated successfully, but these errors were encountered:
Hi
Thanks for the awesome plugin. I'm trying to clone the video with a selected range but after initialize the plugin with the cloned div I get this error.
Here's my code that I append to your
demo.html
Then I get these errors
The text was updated successfully, but these errors were encountered: