diff --git a/.changeset/silver-pigs-develop.md b/.changeset/silver-pigs-develop.md new file mode 100644 index 00000000..ff75539f --- /dev/null +++ b/.changeset/silver-pigs-develop.md @@ -0,0 +1,5 @@ +--- +"@lookit/record": patch +--- + +Unmute playback of recorded consent video. diff --git a/packages/record/src/consentVideo.spec.ts b/packages/record/src/consentVideo.spec.ts index 630846c3..8b7c1fc1 100644 --- a/packages/record/src/consentVideo.spec.ts +++ b/packages/record/src/consentVideo.spec.ts @@ -2,6 +2,7 @@ import { LookitWindow } from "@lookit/data/dist/types"; import Handlebars from "handlebars"; import { initJsPsych, PluginInfo, TrialType } from "jspsych"; import consentVideoTrial from "../templates/consent-video-trial.hbs"; +import playbackFeed from "../templates/playback-feed.hbs"; import recordFeed from "../templates/record-feed.hbs"; import { VideoConsentPlugin } from "./consentVideo"; import { @@ -272,3 +273,7 @@ test("nextButton", () => { expect(jsPsych.finishTrial).toHaveBeenCalledTimes(1); }); + +test("Video playback should not be muted", () => { + expect(playbackFeed).not.toContain("muted"); +}); diff --git a/packages/record/templates/playback-feed.hbs b/packages/record/templates/playback-feed.hbs index 042563de..ea138f6b 100644 --- a/packages/record/templates/playback-feed.hbs +++ b/packages/record/templates/playback-feed.hbs @@ -1,7 +1,6 @@