This example showcases the capability of the PDF viewer to display embedded video and audio content within PDF documents. Multimedia content is embedded in the PDF document as RichMedia annotations.
window.onload = function() {
//DsPdfViewer.LicenseKey = "***key***";
const viewer = new DsPdfViewer("#viewer", { });
viewer.addDefaultPanels();
var pdfUrlToOpen = "/document-solutions/javascript-pdf-viewer/demos/product-bundles/assets/pdf/view-rich-media.pdf";
viewer.open(pdfUrlToOpen).then(function() {
viewer.zoomMode = 1;
});
}