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
3f8cde43
authored
2014-07-23 09:25:53 -0700
by
Tom Johnson
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
documentation normalization
1 parent
e904efed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
3f8cde4
...
...
@@ -613,9 +613,9 @@ videojs.Hls.translateMediaIndex = function(mediaIndex, original, update) {
* objects for each and then returns the most appropriate segment index by
* checking the time value versus each range.
*
* @param playlist
-
The playlist of the segments being searched.
* @param time
-
The time in seconds of what segment you want.
* @returns
int -
The media index, or -1 if none appropriate.
* @param playlist
{object}
The playlist of the segments being searched.
* @param time
{number}
The time in seconds of what segment you want.
* @returns
{number}
The media index, or -1 if none appropriate.
*/
videojs
.
Hls
.
getMediaIndexByTime
=
function
(
playlist
,
time
)
{
var
index
,
counter
,
timeRanges
,
currentSegmentRange
;
...
...
Please
register
or
sign in
to post a comment