mirror of
https://github.com/9001/copyparty.git
synced 2026-03-28 11:02:51 +10:00
handle unsupported codecs better
This commit is contained in:
@@ -242,8 +242,8 @@ var pbar = (function () {
|
||||
};
|
||||
|
||||
r.drawpos = function () {
|
||||
if (!mp.au)
|
||||
return;
|
||||
if (!mp.au || isNaN(mp.au.duration) || isNaN(mp.au.currentTime))
|
||||
return; // not-init || unsupp-codec
|
||||
|
||||
var bc = r.buf,
|
||||
pc = r.pos,
|
||||
|
||||
Reference in New Issue
Block a user