Skip to content

Commit

Permalink
Merge pull request #3161 from rtibbles/load_testing_video
Browse files Browse the repository at this point in the history
Fixes video playback during loadtest
  • Loading branch information
jamalex committed Feb 28, 2015
2 parents c06bab5 + dd65adb commit 0299599
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@
},
function(input, callback) {
try {
this.window.videoView.play();
this.window.videoView.player.addEvent("pause", callback);
this.window.videoView.player.addEvent("error", callback);
this.window.videoWrapperView.videoPlayerView.play();
this.window.videoWrapperView.videoPlayerView.player.addEvent("pause", callback);
this.window.videoWrapperView.videoPlayerView.player.addEvent("error", callback);
setTimeout(callback, 10000);
} catch(e) {
callback(e, null);
}
Expand Down

0 comments on commit 0299599

Please sign in to comment.