captions - Mac ( Safari/Chrome)

Aug 07, 2018

Hi,
i need some help with the file attached, the script for the captions is not working on Mac (Safari and Chrome).
I also used a script below to change the captions appearance.

if (/_html5.html/.test(window.location.href)) {
if (!window.movedCaptions){
var sheet = document.createElement('style');
sheet.innerHTML = ".caption{margin-bottom:70px;}";
document.body.appendChild(sheet);
window.movedCaptions = true;
}
}

if (/_html5.html/.test(window.location.href)) {
if (!window.changeCaptionsBackgroundColour){
var sheet = document.createElement('style');
sheet.innerHTML = ".caption p {background-color: transparent; text-shadow: 0px 0px crimson, 0px 0px crimson, 0px 0px crimson, 0px 0px crimson; color: #ffffff;}";
document.body.appendChild(sheet);
window.changeCaptionsBackgroundColour = true;
}
}

link: https://360.articulate.com/review/content/12b1456b-bacc-48c4-a904-064628a31aaa/review

Thank you for your attention.

1 Reply