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
b98df9db
authored
2013-12-12 15:45:43 -0500
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix the rest of the attribute lists
1 parent
be2c5fbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
src/m3u8/m3u8.pegjs
src/m3u8/m3u8.pegjs
View file @
b98df9d
...
...
@@ -135,7 +135,8 @@ mediaURL
/ ! tag file:[ -~]+ { return file.join(''); }
keyAttributes
= attrs:keyAttribute+
= attrs:(keyAttribute (attrSeparator streamInfAttrs)*)
/ attrs:keyAttribute?
keyAttribute
= "METHOD" "=" method:keyMethod
...
...
@@ -150,7 +151,8 @@ keyMethod
/ "SAMPLE-AES"
mediaAttributes
= attrs:mediaAttribute+
= attrs:(mediaAttribute (attrSeparator mediaAttribute)*)
/ attrs:mediaAttribute?
mediaAttribute
= "TYPE" "=" type:mediaTypes
...
...
@@ -184,21 +186,24 @@ streamInfSharedAttr
/ "VIDEO" "=" video:quotedString
mapAttributes
= attrs:mapAttribute+
= attrs:(mapAttribute (attrSeparator mapAttribute)*)
/ attrs:mapAttribute?
mapAttribute
= "URI" "=" uri:quotedString
/ "BYTERANGE" "=" byteRange:quotedString
iframeStreamAttrs
= iframeStreamAttr+
= attrs:(iframeStreamAttr (attrSeparator iframeStreamAttr)*)
/ attrs:iframeStreamAttr?
iframeStreamAttr
= streamInfSharedAttr
/ "URI" "=" uri:quotedString
startAttributes
= attrs:startAttribute+
= attrs:(startAttribute (attrSeparator startAttribute)*)
/ attrs:startAttribute?
startAttribute
= "TIME-OFFSET" "=" timeOffset:number
...
...
Please
register
or
sign in
to post a comment