Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara-flashplayer
mahara-flashplayer
Commits
644cbdbb
Commit
644cbdbb
authored
Sep 04, 2012
by
Daniel Rossi
Browse files
- #6 cache control headers don't work on chrome windows, just use the cache busting url param.
parent
d7939c07
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/bwcheck/README.txt
View file @
644cbdbb
...
@@ -4,6 +4,7 @@ Version history:
...
@@ -4,6 +4,7 @@ Version history:
------
------
- #547 Live dynamic stream switching not working on Internap CDN
- #547 Live dynamic stream switching not working on Internap CDN
- #563 fixes for resolving bitrates with the bitrateselect and menu plugin.
- #563 fixes for resolving bitrates with the bitrateselect and menu plugin.
- #6 cache control headers don't work on chrome windows, just use the cache busting url param.
3.2.9
3.2.9
-----
-----
...
...
plugins/bwcheck/src/actionscript/org/flowplayer/bwcheck/detect/BandwidthDetectorHttp.as
View file @
644cbdbb
...
@@ -104,9 +104,7 @@ package org.flowplayer.bwcheck.detect {
...
@@ -104,9 +104,7 @@ package org.flowplayer.bwcheck.detect {
loader
.
addEventListener
(
IOErrorEvent
.
IO_ERROR
,
onError
)
;
loader
.
addEventListener
(
IOErrorEvent
.
IO_ERROR
,
onError
)
;
var
request
:
URLRequest
=
new
URLRequest
(
_referenceFileUrl
+
"?"
+
Math
.
random
())
;
var
request
:
URLRequest
=
new
URLRequest
(
_referenceFileUrl
+
"?"
+
Math
.
random
())
;
_nocache
=
new
URLRequestHeader
(
"Cache-Control"
,
"no-store, no-cache, must-revalidate"
)
;
//#6 cache control headers don't work on chrome windows, just use the cache busting url param.
var
headers
:
Array
=
new
Array
(
_nocache
)
;
request
.
requestHeaders
=
headers
;
request
.
method
=
URLRequestMethod
.
GET
;
request
.
method
=
URLRequestMethod
.
GET
;
loader
.
load
(
request
)
;
loader
.
load
(
request
)
;
...
@@ -116,6 +114,7 @@ package org.flowplayer.bwcheck.detect {
...
@@ -116,6 +114,7 @@ package org.flowplayer.bwcheck.detect {
}
}
protected
function
onError
(
event
:
IOErrorEvent
)
:
void
{
protected
function
onError
(
event
:
IOErrorEvent
)
:
void
{
log
.
error
()
;
var
obj
:
Object
=
new
Object
()
;
var
obj
:
Object
=
new
Object
()
;
obj
.
application
=
""
;
obj
.
application
=
""
;
obj
.
description
=
event
.
text
;
obj
.
description
=
event
.
text
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment