aem-core-wcm-components icon indicating copy to clipboard operation
aem-core-wcm-components copied to clipboard

Youtube videos autoplay on close of edit dialog

Open HitmanInWis opened this issue 8 months ago • 2 comments

Bug present as of version: 2.24.7-SNAPSHOT

There is logic in the Youtube Embeddable to prevent the autoplay parameter from being used when in author Edit mode. The logic check is in the YouYubeImpl sling model that checks for the presence of the component's parent's edit context, which is returning null on component refresh after the dialog is closed. This results in a bug where the video is autoplaying in author mode until the page is refreshed (on page load the check works correctly).

HitmanInWis avatar Jun 06 '24 17:06 HitmanInWis