Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

FLUID-4947: fixed 2 audio outputs (in uienhancer). #307

Merged
merged 1 commit into from

2 participants

Yura Zenevich Michelle
Yura Zenevich
Owner

No description provided.

Michelle michelled merged commit 53117e9 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 2, 2013
  1. Yura Zenevich
This page is out of date. Refresh to see the latest.
4 src/webapp/integration-demos/uiOptions/js/SelfVoicingEnactor.js
View
@@ -94,9 +94,9 @@ var fluid_1_5 = fluid_1_5 || {};
fluid.uiOptions.actionAnts.selfVoicingEnactor.attachAudio = function (that) {
that.audio = $(that.options.markup);
- that.audio.attr("id", that.options.audioSelector);
+ that.audio.attr("id", that.options.audioSelector.substr(1));
that.audio.hide();
- $("body").remove(that.options.audioSelector);
+ $(that.options.audioSelector).remove();
$("body").append(that.audio);
var audioElement = that.audio[0];
audioElement.addEventListener("canplaythrough", function () {
10 src/webapp/integration-demos/uiOptions/js/uiOptionsDemo.js
View
@@ -70,4 +70,14 @@
});
};
+ fluid.demands("iframeEnhancer", null, {
+ options: {
+ components: {
+ selfVoicingEnactor: {
+ type: "fluid.emptySubcomponent"
+ }
+ }
+ }
+ });
+
})(jQuery, fluid);
Something went wrong with that request. Please try again.