Skip to content

Commit

Permalink
FLUID-4787: Finish some of the refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
acheetham committed Oct 26, 2012
1 parent 2142c57 commit 9916986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/VideoPlayer.js
Expand Up @@ -569,7 +569,7 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
// TODO: Once we have a non-html5 fall-back for captions to replace captionator,
// the "if" check on html5 browser can be removed. For now, caption component is
// only instantiated in html5 browsers.
if (fluid.hasFeature("fluid.browser.html5")) {
if (fluid.hasFeature("fluid.browser.supportsHtml5")) {
that.events.onHTML5BrowserDetected.fire();
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/js/VideoPlayerTests.js
Expand Up @@ -246,7 +246,7 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
};

videoPlayerTests.asyncTest("Video label: default", function () {
setupEnvironment(true);
fluid.testUtils.setStaticEnv(envFeatures);
initVideoPlayer({
listeners: {
onReady: function (videoPlayer) {
Expand All @@ -258,7 +258,7 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
});

videoPlayerTests.asyncTest("Video label: custom", function () {
setupEnvironment(true);
fluid.testUtils.setStaticEnv(envFeatures);
var testTitle = "My Test Video Title";
initVideoPlayer({
videoTitle: testTitle,
Expand Down

0 comments on commit 9916986

Please sign in to comment.