Bookmarks don't work for PDF Embed API
Bookmarks don't seem to work when clicked on with the embedded pdf. It doesn't navigate to any page. It stays as is. Everything else seems fine. Currently embedded onto a WordPress site.
Here is the code:
<div id="adobe-dc-view" style=" height: 792px; width: 100%;"></div>
<script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
document.addEventListener("adobe_dc_view_sdk.ready", function(){
var adobeDCView = new AdobeDC.View({clientId", divId: "adobe-dc-view"});
adobeDCView.previewFile({
content:{location: {url: "https://xxx.pdf"}},
metaData:{fileName: "xxx.pdf"}
},
{embedMode: "FULL_WINDOW", showFullScreen: true, showAnnotationTools: false, showBookmarks:true, showPrintPDF: false}); });
</script>
