Commit 52a86e35 authored by Laura Kalbag's avatar Laura Kalbag

Adjust mute button rendering for Firefox, as in PayPal commit...

Adjust mute button rendering for Firefox, as in PayPal commit 0be089c44d7f36e9a337b67a2b07fa76c5499967
parent 3b9318bf
......@@ -250,6 +250,9 @@ function InitPxVideo(options) {
// Adjust layout per width of video - controls/mute offset
obj.labelMute = document.getElementById("labelMute" + obj.randomNum);
obj.labelMuteOffset = obj.movieWidth - 390;
if (obj.browserName==="Firefox") { // adjust for Firefox rendering
obj.labelMuteOffset = obj.labelMuteOffset - 10;
}
if (obj.labelMuteOffset < 0) {
obj.labelMuteOffset = 0;
}
......@@ -643,7 +646,7 @@ function InitPxVideo(options) {
}
}
document.addEventListener("fullscreenchange", function () {
fullScreenStyles();
}, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment