wplayer

Check-in [348effbec5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Another filename extension for jpg
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | master | trunk
Files: files | file ages | folders
SHA3-256:348effbec584eabb5525f1dd5dcdf3a845898ca62638be1d41d78c75db4f020a
User & Date: vandys 2019-07-27 14:09:57
Context
2019-07-27
14:09
Another filename extension for jpg Leaf check-in: 348effbec5 user: vandys tags: master, trunk
2019-04-04
17:52
Explicit button size, workaround for old FxOS check-in: 3c52e0224a user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/player.js.

280
281
282
283
284
285
286
287

288
289
290
291
292
293
294
    if (newTime >= 0) {
	player.currentTime = newTime;
    }
}

// Does this path look art-ish?
function isart(fn) {
    return (fn.endsWith(".jpg") || fn.endsWith(".png"));

}

// Ask the server to extract the metadata for this track
// If we get it, update the window title so things like lock screen
//  hold something helpful.
function paint_metadata(s) {
    dope_valid = meta_valid = false;







|
>







280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
    if (newTime >= 0) {
	player.currentTime = newTime;
    }
}

// Does this path look art-ish?
function isart(fn) {
    return (fn.endsWith(".jpg") || fn.endsWith(".png") ||
	fn.endsWith(".jpeg"));
}

// Ask the server to extract the metadata for this track
// If we get it, update the window title so things like lock screen
//  hold something helpful.
function paint_metadata(s) {
    dope_valid = meta_valid = false;