[#1448] Ensure times in null are numbers and not string parsed from stri... #300

Open
wants to merge 2 commits into
from

Projects

None yet

2 participants

@ScottDowne
Contributor

...ng data.

@humphd humphd commented on an outdated diff Mar 4, 2013
wrappers/null/popcorn.HTMLNullVideoElement.js
@@ -173,8 +173,8 @@
// Parse out the start and duration, if specified
var fragments = temporalRegex.exec( aSrc ),
- start = fragments[ 1 ],
- duration = fragments [ 2 ];
+ start = +fragments[ 1 ],
+ duration = +fragments [ 2 ];
@humphd
humphd Mar 4, 2013 Member

fragments[ (remove space).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment