Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Commit

Permalink
The loadstarted should really be true before the loadstart event is f…
Browse files Browse the repository at this point in the history
…ired
  • Loading branch information
heff committed Jul 11, 2014
1 parent 800a424 commit cda161f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/videojs/providers/HTTPVideoProvider.as
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ package com.videojs.providers{
private function initNetConnection():void{
// the video element triggers loadstart as soon as the resource selection algorithm selects a source
// this is somewhat later than that moment but relatively close
_model.broadcastEventExternally(ExternalEventName.ON_LOAD_START);
_loadStarted = true;
_model.broadcastEventExternally(ExternalEventName.ON_LOAD_START);

if(_nc != null) {
try {
Expand Down

0 comments on commit cda161f

Please sign in to comment.