Forum Discussion
Storyline Reading iFrame Out of Reading Order
Hi Gary, I didn't say it would be a temp fix, it was just a failed experiment as the outcome was not good, due to the scaling that is added on the outer container changing the position and size of the video.
// Get the original elementconst originalVideo = document.querySelector('.slide-object-webobject');// Clone the original elementconst clonedVideo = originalElement.cloneNode(true);// Remove the original elementoriginalVideo.remove();// Get the target elementconst targetProxy = document.querySelector('[data-acc-text="READ"]');// Get the target element accessible versionconst targetElement = document.getElementById('acc-'+targetProxy.dataset.modelId);// Insert the cloned element before the target elementtargetElement.parentNode.insertBefore(clonedVideo, targetElement);
Related Content
- 31 days ago