Skip to content

Commit b7da07d

Browse files
committed
Fade out audio element when deactivating
Align with video element behavior. REDMINE-18018
1 parent 58ab46c commit b7da07d

File tree

1 file changed

+1
-1
lines changed
  • entry_types/scrolled/package/src/contentElements/inlineAudio

1 file changed

+1
-1
lines changed

entry_types/scrolled/package/src/contentElements/inlineAudio/InlineAudio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function InlineAudio({sectionProps, configuration}) {
2626
},
2727

2828
onDeactivate() {
29-
playerActions.pause();
29+
playerActions.fadeOutAndPause(400);
3030
}
3131
});
3232

0 commit comments

Comments
 (0)