Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
afb634ee
authored
2014-04-24 11:21:38 -0400
by
Lee Whitaker
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Strip carriage returns when parsing manifest lines.
1 parent
58952618
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/m3u8/m3u8-parser.js
src/m3u8/m3u8-parser.js
View file @
afb634e
...
...
@@ -117,6 +117,10 @@
return
;
}
//strip off any carriage returns here so the regex matching
//doesn't have to account for them.
line
=
line
.
replace
(
'\r'
,
''
);
// Tags
match
=
/^#EXTM3U/
.
exec
(
line
);
if
(
match
)
{
...
...
Please
register
or
sign in
to post a comment