Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4435

Pdfviewer does not work with media content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 9.0.0
    • Components

      I've been trying the new pdfviewer from https://tracker.zkoss.org/browse/ZK-439

      I modified the project from https://github.com/zkoss-demo/zkpdfviewer-demo to use Media content instead of relative URL in Pdfviewer::src but it does not render the PDF (you can see the change in my forked project https://github.com/aljiru/zkpdfviewer-demo/commit/c710d847b26691eb6ed504fe48e6a318639a33cd).

      Finally, after spending some hours debugging I came up with a fix (I share it with you, I don't know if it's the proper solution, but at least it worked for me https://github.com/aljiru/zkpdfviewer-demo/commit/05d742e64ea1e1ed649c1017e96b0efe225240d8)

            Unassigned Unassigned
            ajrneo ajrneo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: