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
e25f8997
authored
2014-04-07 14:52:48 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
open XHR before setting properties on it
1 parent
c5e63b38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
e25f899
...
...
@@ -125,6 +125,7 @@ var
}
request
=
new
window
.
XMLHttpRequest
();
request
.
open
(
options
.
method
,
url
);
if
(
responseType
)
{
request
.
responseType
=
responseType
;
...
...
@@ -133,7 +134,6 @@ var
request
.
withCredentials
=
true
;
}
request
.
open
(
options
.
method
,
url
);
request
.
onreadystatechange
=
function
()
{
// wait until the request completes
if
(
this
.
readyState
!==
4
)
{
...
...
Please
register
or
sign in
to post a comment