- 22 Jan, 2014 2 commits
-
-
The segment response callback was getting pretty deeply nested, so invert the readyState check and return early. Also added some comments.
David LaPalomento committed -
Missed this in my last commit. Don't overwrite player.error, hang errors off the plugin object instead.
David LaPalomento committed
-
- 21 Jan, 2014 2 commits
-
-
The error method is not writable in video.js so store error objects on the HLS plugin to be sure we don't break error notifications when the HLS plugin is not in use. Remove 'missing' from error message text since we're now using the same text for all status codes > 400.
David LaPalomento committed -
-
- 20 Jan, 2014 3 commits
-
- 17 Jan, 2014 1 commit
-
-
If segment requests are not aborted, fillBuffer will detect an outstanding XHR and fail to download the target segment. This would force the user to click twice on the progress bar to get seek to "take" if their was a segment request in progress.
David LaPalomento committed
-
- 16 Jan, 2014 2 commits
-
-
Unless a comment specifies the total duration, do not add the property to the parsed manifest object. Also, do not default it to zero if it is not defined in the manifest. Instead, calculate the total duration from the target duration and segment metadata whenever a new playlist is selected.
David LaPalomento committed
- 15 Jan, 2014 4 commits
-
-
-
-
Stop attempting to calculate the segment time range in the media playlist parsing, instead we can re-calculate it on demand. Remove some trailing commas in expected parser output because that is not valid JSON. Do not create an attributes property when parsing stream-inf if no actual attribute values were parsed.
David LaPalomento committed
-
- 14 Jan, 2014 3 commits
-
-
-
Use a single loop through the FLV tags to determine the right tag to begin buffering at. Fix up some whitespace.
David LaPalomento committed -
-
- 13 Jan, 2014 1 commit
-
-
- 10 Jan, 2014 2 commits
-
-
- 09 Jan, 2014 1 commit
-
-
Create some high-level descriptions of the properties and events the plugin exports.
David LaPalomento committed
-
- 08 Jan, 2014 11 commits
-
-
- 07 Jan, 2014 5 commits
-
-
Move the duration update functionality so it happens inline instead of in a custom event. Add a test case. Clean up formatting inconsistencies.
David LaPalomento committed -
Use the calculated bandwidth after every segment download to select the appropriate bitrate playlist. Allow playlist selection logic to be configurable at runtime. Add tests to verify adaptive behavior. Currently, switching is pretty choppy but testing with a higher goalBufferLength (for instance, 30 seconds) looked pretty good.
David LaPalomento committed -
It's not valid according to the spec, but bipbop has whitespace after the commas in its key-value pair lists. Strip leading and trailing whitespace before splitting the key and value when parsing now. Update one of the manifests to use the bad format. Add differentiated media playlists.
David LaPalomento committed -
If a master playlist has been downloaded, immediately fetch the default variant playlist and start buffering it. This matches HLS network activity in Safari on OS X which also seems to lazily load the non-default variant streams. Consolidate relative URL resolution and use a solution involving the `base` element to take advantage of browser logic for URL composition. Update test cases to expect absolute URLs for XHRs after the initial manifest request.
David LaPalomento committed
- 06 Jan, 2014 3 commits
-
-
-
- Updated test suite now looks for manifest.totalDuration. - Implemented ZEN-TOTAL-DURATION tag recognition.
Tom Johnson committed -
-