diff --git a/static/pdf.js/embeds.js b/static/pdf.js/embeds.js index fbdd308d..d6e52d06 100644 --- a/static/pdf.js/embeds.js +++ b/static/pdf.js/embeds.js @@ -42,15 +42,16 @@ function getVideoOverlay(page) { video = links.filter(function(embed) { return embed.id == id; })[0], - $interface, $playButton, $editButton; + $interface, $playButton, $editButton, + pixelRatio = window.devicePixelRatio || 1; if (editable || video) { $interface = Ox.$('