diff --git a/main.html b/main.html index 888fb82903..57aa67aa8c 100644 --- a/main.html +++ b/main.html @@ -84,6 +84,7 @@ + diff --git a/video_init.js b/video_init.js index d38e47c073..adf0187ea9 100644 --- a/video_init.js +++ b/video_init.js @@ -29,13 +29,9 @@ function good() { } ajax_video=good; + // load the same video speed your last video was at in a sequence // if the last speed played on video doesn't exist on another video just use 1.0 as default -if (video_speed == 1 || !streams[video_speed]) { - loadNewVideo(streams["1.0"], streams["1.0"], ${ position }); -} else { - loadNewVideo(streams["1.0"], streams[video_speed], ${ position }); -} function add_speed(key, stream) { var id = 'speed_' + stream; @@ -67,9 +63,24 @@ function sort_by_value(a,b) { l.sort(sort_by_value); -for(var i=0; i