diff --git a/pandora/text/templates/pdf/viewer.html b/pandora/text/templates/pdf/viewer.html index 75a2bb196..19031d09f 100644 --- a/pandora/text/templates/pdf/viewer.html +++ b/pandora/text/templates/pdf/viewer.html @@ -35,7 +35,7 @@ limitations under the License. embeds = {{embeds|safe}}, editable = {{editable|safe}}; - + diff --git a/static/pdf.js/links.js b/static/pdf.js/embeds.js similarity index 99% rename from static/pdf.js/links.js rename to static/pdf.js/embeds.js index 88944d90a..032e6833a 100644 --- a/static/pdf.js/links.js +++ b/static/pdf.js/embeds.js @@ -100,7 +100,7 @@ function getVideoOverlay(page) { + 'https://0xdb.org/0315594/00:13:37,00:23:42 or\n' + 'http://pad.ma/A/editor/00:00:00,00:01:00,00:02:00' + (video ? '\n\nTo remove the video, just remove the URL.' : ''), - video.src + video ? video.src : '' ); if (url !== null) { if(!video) {