Added command to update all courses and chapters, downloading videos and checking video size is split into two queues, chapters can be mark to sync individually, updated readme, check if subscription is active, playback rate controll,

This commit is contained in:
Krzysztof Płaczek committed 2023-06-13 13:18:09 +02:00
1 parent 664d3b4d5b
commit 018597faaa
14 files changed
+551 -81

No files matched your search

+4 -4
View File
@@ -66,17 +66,17 @@
<script>
const value = document.querySelector("#playback")
const input = document.querySelector("#playback_range")
document.querySelector('body').onload = function(){
document.querySelector('body').onload = function () {
const playbackRate = localStorage['playback'] || 1;
document.querySelector('video').playbackRate = playbackRate;
document.querySelector('#playback_range').value = playbackRate;
value.textContent = 'x'+playbackRate;
value.textContent = 'x' + playbackRate;
};
value.textContent = 'x'+input.value
value.textContent = 'x' + input.value
input.addEventListener("input", (event) => {
localStorage['playback'] = event.target.value;
value.textContent = 'x'+event.target.value;
value.textContent = 'x' + event.target.value;
document.querySelector('video').playbackRate = event.target.value;
})
</script>