jrivera
277bea4935
Expose the ability to set an `beforeRequest` function on the xhr object in order to modify the options used to create the request object
* Make Xhr a factory function that returns a unique instance of the xhr function and expose an instance of it on each player's xhr object
* Keep the returned function is backward compatible with the previous xhr
* Add a `beforeRequest` function to the XHR that allows you to override options before the request
* The `beforeRequest` function can be specified on the global `videojs.Hls.xhr` function and it'll be used for all players unless overridden on a per-player level
9 years ago
jrivera
6fe9fa2fd8
Merge branch 'development'
10 years ago
jrivera
3e6d9c88af
Merge remote-tracking branch 'upstream/master' into development
10 years ago
jrivera
b51a71be37
Updated the changelog with high-level information about the 1.x and 2.x releases
10 years ago
jrivera
b73f893dc4
2.0.1
10 years ago
jrivera
dcd06fd70f
Added a null check. closes #581
10 years ago
jrivera
5ee6cc0689
Removed the dependency on webworkify
10 years ago
jrivera
c0ab5e7645
1.3.11
10 years ago
Jon-Carlos Rivera
b12ba42b8a
Merge pull request #580 from forbesjo/null-check-mediasource
Added an extra null check for mediaSource
10 years ago
jforbes
fe517c0e9d
Added an extra null check for mediaSource
10 years ago
David LaPalomento
e835b70795
Merge pull request #578 from videojs/fix-toc
Move TOC below the header and badges. Rerun doctoc
10 years ago
Gary Katsevman
4db8bd6b62
Move TOC below the header and badges. Rerun doctoc
10 years ago
jrivera
6a9433a9f3
1.3.10
10 years ago
jrivera
7bf31aa03e
Updated contrib-media-sources version to latest
10 years ago
Jon-Carlos Rivera
94f8ff1e5c
Merge pull request #576 from videojs/fix-ie11-master
Work around a bug with the buffered property in IE11 that prevented playback
10 years ago
jrivera
2be08fa412
Work around a bug with the buffered property in IE11 that prevented playback
10 years ago
Jon-Carlos Rivera
b88ac744ac
Merge pull request #573 from videojs/fix-ie11
Work around a bug with the buffered property in IE11 that prevented playback
10 years ago
jrivera
98b3fc0bf0
Work around a bug with the buffered property in IE11 that prevented playback
10 years ago
jrivera
dd5d71c9d0
2.0.0
10 years ago
jrivera
53322e5d87
Merge branch 'master' into development
10 years ago
jrivera
8718c2e255
Merge branch 'development'
Conflicts:
.travis.yml
package.json
src/playlist.js
src/videojs-hls.js
test/videojs-hls_test.js
10 years ago
jrivera
b5e60aba53
Fix whitespace - tabs to spaces!
10 years ago
Jon-Carlos Rivera
2db4b64ce9
Merge pull request #568 from videojs/browserify-p5
Browserify p5
10 years ago
jrivera
10562674c3
Update contrib-media-sources so that this will build
Also fixes a missing webworkify library that was causing build errors
Closes #558
10 years ago
brandonocasey
941e5b0d69
updated package.json to reflect master hls deps
fixed a typo in src/videojs-contrib-hls
fixed some inconsistencies in test/videojs-contrib-hls
10 years ago
David LaPalomento
a5ab53ec17
Style fixes and restoring some command ordering
The refactor should not have changed the required ordering for statements so restore it. Adjust styles a tad.
10 years ago
brandonocasey
99580d5c2d
browserify-p5: videojs-contrib-hls and bin-utils conversion
removed stub test and stub src files
updated build scripts to continue working
fixed several linting issues that were previously unnoticed
turn the linter back on
remove init function from stream
added ignore for playlist-loader as it will be finished later
10 years ago
jrivera
2f10ecfc8f
1.3.9
10 years ago
David LaPalomento
f658c6c004
Merge pull request #551 from dmlap/null-check-computed-style
Avoid Firefox issue 548397
10 years ago
David LaPalomento
c553bc5d39
Don't patch HLS until after MediaSource opens
If Flash-based source buffers are being used, the HLS source handler isn't available until later in the player lifecycle. Wait a bit before spying on drainBuffer() to account for that possible delay.
10 years ago
David LaPalomento
c694b4b79c
Merge pull request #544 from BrandonOCasey/browserify-p4
browserify-p4: playlist*, xhr, and resolve-url
10 years ago
brandonocasey
4c27b9d167
fixing some more linebreak on parens issues
10 years ago
David LaPalomento
ac8cb5e1fe
Avoid Firefox issue 548397
getComputedStyle returns null when in an iframe with display: none so be careful dereferencing it.
10 years ago
jrivera
1c31597bd2
1.3.8
10 years ago
Jon-Carlos Rivera
ed8384a0f3
Merge pull request #549 from videojs/live-remove
Fix buffer trimming so that it doesn't use seekable.start if it has a…
10 years ago
Jon-Carlos Rivera
09fa9fb567
Merge pull request #547 from videojs/duration-fixes
Duration and endOfStream fixes
10 years ago
jrivera
67cadfbef5
Fix buffer trimming so that it doesn't use seekable.start if it has a value greater than the currentTime
10 years ago
brandonocasey
0de2141bf8
fixed style issues, bare playlist-loader conversion
fixed pre-existing assertion duplication issues
10 years ago
jrivera
aac49993b5
Tests for endOfStream and segment.duration tracking behavior in updateEndHandler
10 years ago
jrivera
cf295e562f
Fixed an issue with endOfStream logic and started updating segment durations when enough information exists to do so
* Moved endOfstream and playlist updating code out of `updateendHandler`
* We now update segment durations when we have a previous segment with a known end-time
* Always trigger endOfStream when we append the last fragment in addition to triggering it if we are in a buffer that touches the end of the stream (duration) after an append
10 years ago
jrivera
4c38827067
Handle duration a little more intelligently
- If the playlist hasn't been loaded yet, use 0.
- If the playlist duration is Infinity, use the playlist duration.
- If the mediaSource doesn't exist, use the playlist duration.
- In all other cases, use the mediaSource's duration.
10 years ago
David LaPalomento
264b95164b
1.3.7
10 years ago
David LaPalomento
6489184637
Merge pull request #545 from gesinger/firefox-update-end-on-buffer-removal
Don’t process update end until buffered value has been set
10 years ago
Garrett Singer
c91eb79f91
Use Firefox latest for Travis
10 years ago
Garrett Singer
ec0448775d
Don’t process update end until buffered value has been set
In Firefox, the updateend event is triggered for both removing from the buffer and adding to the buffer. To prevent our update end handler from executing on removals, we wait for segmentInfo to have a filled in buffered value before we continue processing.
10 years ago
brandonocasey
a07f52ee5b
added a suffix to previously non-class variables and functions
10 years ago
brandonocasey
2a4bb07322
removing linebreak after parens lines
10 years ago
brandonocasey
5a33fc5743
browserify-p4: playlist*, xhr, and resolve-url
updated stub.js to keep unit tests working
updated build/watch scripts
ripped resolve-url out of videojs-contrib-hls for now
10 years ago
David LaPalomento
e3c93f60d8
Merge pull request #543 from BrandonOCasey/precompute-optimization
only run precompute for tables once, slice copy after that
10 years ago
brandonocasey
4db0173858
only run precompute for tables once, slice copy after that
10 years ago