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
2110555c
authored
2015-11-12 11:22:09 -0500
by
Gary Katsevman
Committed by
David LaPalomento
2015-11-16 14:18:27 -0500
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make sure that Uint8Array is available before registering Flash source handler
1 parent
1551d9c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
2110555
...
...
@@ -125,7 +125,9 @@ videojs.HlsSourceHandler = function(mode) {
if
(
videojs
.
MediaSource
.
supportsNativeMediaSources
())
{
videojs
.
getComponent
(
'Html5'
).
registerSourceHandler
(
videojs
.
HlsSourceHandler
(
'html5'
));
}
videojs
.
getComponent
(
'Flash'
).
registerSourceHandler
(
videojs
.
HlsSourceHandler
(
'flash'
));
if
(
window
.
Uint8Array
)
{
videojs
.
getComponent
(
'Flash'
).
registerSourceHandler
(
videojs
.
HlsSourceHandler
(
'flash'
));
}
// the desired length of video to maintain in the buffer, in seconds
videojs
.
Hls
.
GOAL_BUFFER_LENGTH
=
30
;
...
...
Please
register
or
sign in
to post a comment