PDF.js Tutorial Render PDF files on HTML5 Canvas

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 20

  • @polimeraus
    @polimeraus Год назад

    which color theme do you use ?

  • @sagarsrinivas2185
    @sagarsrinivas2185 3 года назад +2

    Im getting this message and pdf is also not rendering
    Deprecated API usage: No "GlobalWorkerOptions.workerSrc" specified.
    can you please help me on this

    • @daleryanaldover6545
      @daleryanaldover6545 Год назад

      If anyone came across this, the solution is to set the pdfjs workerSrc:
      const PDFJSWorker = await import('pdfjs-dist/build/pdf.worker.entry.js')
      GlobalWorkerOptions.workerSrc = PDFJSWorker

  • @saurabhverma5711
    @saurabhverma5711 3 года назад +1

    encrpted pdf aes 256 bit content not display content..content display for just second then hide..please help me

  • @shadabahmedkhan6872
    @shadabahmedkhan6872 4 года назад +3

    how to render pdf from google drive please help I'm stack.

    • @amandeepkumarpandey5858
      @amandeepkumarpandey5858 4 года назад

      without thinking much i guess it's like using the nodeJS to get the file required (from google drive), put it inside the localstorage or any other temporary storage, then you can use it by pdf.js

  • @sharifabdelghany5332
    @sharifabdelghany5332 4 года назад +1

    Hi, do you know how to prevent the paste event in the textbox of pdf file?

    • @masterapptechnologies6313
      @masterapptechnologies6313 4 года назад

      Hey had you found the solution...? me to working on same concept and want to capture user input from text box. please let me know if you you got succeeded

  • @alighazanfari_ir
    @alighazanfari_ir 3 года назад +1

    hey, this is so easy man. can you render it as 3d?

    • @CodingShiksha
      @CodingShiksha  2 года назад

      Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848

  • @mchrisdev
    @mchrisdev 2 года назад

    your video is perfect!
    will he have a way to show us how to do the whole page reading of the file eg a file which has five pages.
    including a continuous reading
    thank you

    • @CodingShiksha
      @CodingShiksha  2 года назад

      Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848

  • @isaiahkiefer4729
    @isaiahkiefer4729 3 года назад +1

    after downloading the pdf.js cdn, it still says that pdfjsLib is not defined? Do you know why this is happening?

  • @isaiahkiefer4729
    @isaiahkiefer4729 3 года назад +1

    Hey so I followed the tutorial and got it to run with no errors and it appears to be loading the resource, however it won't display the pdf. Do you have any advice on how to fix this?

  • @sudheerec107
    @sudheerec107 Год назад

    If we load all pages, is there any event listener to get page changed? I tried with many things and it didn't work

    • @CodingShiksha
      @CodingShiksha  Год назад

      Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW