forked from 0x2620/pandora
embed player: support 'HH:MM:SS' for in/out
This commit is contained in:
parent
12a9500043
commit
1b5443a1d6
1 changed files with 3 additions and 0 deletions
|
@ -269,6 +269,9 @@ Ox.load('UI', {
|
|||
} else if (query[k].match(/^[\d\.]+$/)) {
|
||||
query[k] = parseFloat(query[k]);
|
||||
}
|
||||
if (['in', 'out'].indexOf(k) > -1 && v.indexOf(':') > -1) {
|
||||
query[k] = Ox.parseDuration(query[k]);
|
||||
}
|
||||
});
|
||||
return Ox.extend({}, defaults, query);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue