mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
handle unsupported codecs better
This commit is contained in:
parent
58040cc0ed
commit
fed8d94885
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue