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 element
const originalVideo = document.querySelector('.slide-object-webobject');
// Clone the original element
const clonedVideo = originalElement.cloneNode(true);
// Remove the original element
originalVideo.remove();
// Get the target element
const targetProxy = document.querySelector('[data-acc-text="READ"]');
// Get the target element accessible version
const targetElement = document.getElementById('acc-'+targetProxy.dataset.modelId);
// Insert the cloned element before the target element
targetElement.parentNode.insertBefore(clonedVideo, targetElement);