summaryrefslogtreecommitdiffstats
path: root/assets/js/player.js
diff options
context:
space:
mode:
authormeow <woem>2022-04-20 16:36:03 +0300
committermeow <woem>2022-04-25 12:54:32 +0300
commit3431a1b1def2408a8b4ad26a831e6606b8db11f9 (patch)
treed62fb3cd9952b4416822a3ba91f6839efcd26cc0 /assets/js/player.js
parent026ea52445cca3c7f86e6cefa9899f58a13758a7 (diff)
downloadinvidious-3431a1b1def2408a8b4ad26a831e6606b8db11f9.tar.gz
invidious-3431a1b1def2408a8b4ad26a831e6606b8db11f9.tar.bz2
invidious-3431a1b1def2408a8b4ad26a831e6606b8db11f9.zip
`console.warn` and `info` instead of `log`
Diffstat (limited to 'assets/js/player.js')
-rw-r--r--assets/js/player.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/js/player.js b/assets/js/player.js
index 3c8cf219..f07031ac 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -280,7 +280,7 @@ player.on('volumechange', function () {
player.on('waiting', function () {
if (player.playbackRate() > 1 && player.liveTracker.isLive() && player.liveTracker.atLiveEdge()) {
- console.log('Player has caught up to source, resetting playbackRate.');
+ console.info('Player has caught up to source, resetting playbackRate.');
player.playbackRate(1);
}
});
@@ -477,7 +477,7 @@ function set_all_video_times(times) {
try {
storage.setItem(save_player_pos_key, JSON.stringify(times));
} catch (e) {
- console.debug('set_all_video_times: ' + e);
+ console.warn('set_all_video_times: ' + e);
}
} else {
storage.removeItem(save_player_pos_key);
@@ -492,7 +492,7 @@ function get_all_video_times() {
try {
return JSON.parse(raw);
} catch (e) {
- console.debug('get_all_video_times: ' + e);
+ console.warn('get_all_video_times: ' + e);
}
}
}