Again I'm still confirming that you are BY FAR a GOD gift for all coding community, worldwide 😍😍👌👌
@kidethezdaga4 жыл бұрын
When I typed PDF.js in my youtube search I just hoped I will find a single video that can help me a bit. But only then I realised that I forgot about the best teacher in youtube programming community... Ty Brad , you are just awesome...
@jamesbest22215 жыл бұрын
Thank you. That was enjoyable to watch. Also, thanks for hand-typing your code, and explaining every step so clearly! I think that’s your secret-sauce as to why your videos are so good!
@javascriptmastery5 жыл бұрын
For all those wondering how to create a dynamic PDF using JS and React, so you can later view it in this PDF viewer, I have created a video explaining how to do it! Cheers Brad, you're the best! 🥂
@adrianhajdin16735 жыл бұрын
Thanks man, that's exactly what I have been looking for!
@luciafilicic41405 жыл бұрын
Subscribed, Brad's video and yours go great together!
@iMakeMemes4 жыл бұрын
where's the link
@alexanderlo83804 жыл бұрын
This video still helped me out in 2020, Thanks a bunch! Stay safe everyone
@batesmjr Жыл бұрын
Absolutely a fan! This really help me with understanding promises and catching errors. I really appreciate your work and breakdown of the language.
@matthewmbonu31595 жыл бұрын
As a starting coding bootcamp student I can't say how much your videos have been helpful thanks so much for the great content!
@fuzzybuddy44575 жыл бұрын
Hello, Just wanted to ask how can I display all of the pages of the pdf on page instead of going next page and previous page thanks, Arnav 😀
@raymond14895 жыл бұрын
Thank you very much bro. I upgraded this application by means of your current and previous lessons. I used localstorage and contenteditable options to user can choose a page he wants.
@rosalyna_243 жыл бұрын
can u share the code please
@raymond14893 жыл бұрын
@@rosalyna_24 github.com/SamFredrickson/PDFReader
@happatrick73305 жыл бұрын
Love your tutorials, ever since I started following your content my coding skills have definitely improved. Thank you Brad.
@grey40325 жыл бұрын
you are a life saver. thanks for all your videos
@armaandhanji21125 жыл бұрын
Exactly what I needed...thanks so much Brad. Best channel on youtube..hands down.
@igorr46825 жыл бұрын
very useful tool, you can take advantage of PDF reader install on your system and do the same with or tag as well
@abodanzieri3 жыл бұрын
Thanks a lot. I just needed to have this for my Project so phones could see the pdfs without having to download them. I managed to change it so it works on my Application. Now it works nicely on Desktop and Mobile. Dont worry i credited you and refered to your video in my code.
@kevinb65683 жыл бұрын
Can you open local file documents?
@oskarlaskowski31735 жыл бұрын
it is a pleasure being able to code along. Great tutorial.
@javascriptwar95254 жыл бұрын
I would like to follow this channel for forever..☺🙌❤.. You all are such a great developers really honorable
@mioszkaput2355 жыл бұрын
I really enjoy these quickshot-videos! (especially with usefull js!)
@mitjed5 жыл бұрын
Its good for integrating your resume into your website.
@itahirk5 жыл бұрын
Brad, You are Awesome. Presenting us always with something extraordinary.
@ayodejisokan5 жыл бұрын
Thanks so much Brad! You've help a lot of us through your dedication to online education.
@ziborgbe5 жыл бұрын
We are able to see your mind work flow during creation of an application. It is awesome. Is this your normal speed ? Have you prepared this before? Many thanks Brad.
@sagarmaheshwary31505 жыл бұрын
I was waiting for this since I saw the repo on my github dashboard.
@derekgilbert12225 жыл бұрын
I've started to feel guilty having all of this consistent content for free.
@DhananjayGupta4 жыл бұрын
Just pay something
@dkmodder44055 жыл бұрын
I was just looking for one of these and what do you know, Brad has already made a tutorial!
@perninha.935 жыл бұрын
Hello, the code does not work, is giving 3 errors: 1º - The origin 'null' was blocked by the policy of cors. 2nd - Cannot read property 'xhr' of undefined. 3rd - Uncaptured error: cannot read the 'reject' property of undefined. Would you help me? I'm studying js, but could not succeed.
@cahyoarissabarno464 жыл бұрын
You can fix that ?
@Thomas_Grusz Жыл бұрын
Thanks Brad. That's a super handy project.
@chijideagboje84245 жыл бұрын
This project help me understand how canvas works. Thanks
@MohdShoab-jx8qu2 жыл бұрын
Thank you so much sir for this amazing video 🤠 Love from India
@durgachaitanya28715 жыл бұрын
Sir... Your videos simply awesome..... Please make video on animated menu bar.... With search box
@anuadebayo72675 жыл бұрын
You are awesome
@TraversyMedia5 жыл бұрын
Thanks :)
@NIKHILKUMAR-jm6bb4 жыл бұрын
Mr. Brad You are really doing a great job. I have learnt a lot from your videos.Thanks. I need a help: Moving forward on your above web application, I want to know that how can I extract text, pictures,etc. from the pdf file? I will be very thankful to your help.
@registrarmusica57933 жыл бұрын
my friend your video is perfect. Congratulations for the good work
@camillapantoja8734 жыл бұрын
Mr. Brad to the rescue as always !!!!
@stojkovv5 жыл бұрын
Very nice, I have become your patron from this video. Thank you
@Flamewheel20018 ай бұрын
Thanks! Appreciate your tutorials and you udemy courses
@kailashmalveeya95234 жыл бұрын
Hey Brad! thanks a ton for this amazing explanation. could you please explain how to implement zooming in pdf viewer.
@MissOttolini3 жыл бұрын
Thank you for this tutorial! How do I publish this to host on a web server?
@muhammadsajjad79575 жыл бұрын
@Brade, your videos are very helpful. Thanks man !
@MathCoaching5 жыл бұрын
Hi, is there a simple way to force pdf to be resized according to the device of user ? the viewer is too big for smartphone devices.
@skjerk5 жыл бұрын
Extremely useful! Just what I needed :-) You have a perfect way of explaining stuff!
@HostDotPromo5 жыл бұрын
Build build build 💰 PDF libraries are changing the game.
@Ribby005 жыл бұрын
Very nice. You should do a video to show how to create PDFs in JS or PHP or something from db records or charts or something. Could be really handy for business creators that want to create apps that can display data then export the data to PDF
@crypt0z5 жыл бұрын
Pretty slick Brad! I learnt a lot.
@jorgealloza61394 жыл бұрын
You are a hero, god will take care of you.
@Waelio5 жыл бұрын
Wonderful, Thank you! You do however realise that the real pickle is how to generate a pdf :( Most of my project require exporting data to pdf or excel, and I always found it challenging to generate a pdf ready for printing (A1/Letter) and so on. If you have the time, this would be a wonderful lesson. Thanks
@robertmckethan87492 жыл бұрын
Thank you for your awesome tutorial! I've followed the directions with excellent results using Visual Code's Go Live feature. However, I am attempting to use the code on a Drupal 9 site. I've installed the CSS, HTML, and JS in the correct directories. The code works except that I must click on the Next Page button to display content and it starts on the 2nd page. Also, the 'Page of' doesn't display anything. Any suggestions? In advance thank you for any suggestions you might have. Robert McKethan
@nadoguirra4 жыл бұрын
Very good! Thanks Traversy :D
@baroiall99685 жыл бұрын
Brad, I really loved this tutorial of yours. I was hoping if you could do an updated video on this, where, there is an input section to enter the URL of any online PDF..and the reader pulls the PDF document from that URL and displays it..and if the URL doesn't link to any PDF..it shows an error.. Thanks
@arogueotaku5 жыл бұрын
I'm confused. Why are we using that recursive call to renderPage method?
@omarashraf61932 жыл бұрын
Thank you for simple and clear explanation 🖤. I have a question. Is there a way to use/extend annotations functionality without pdfjs paid license? do you have any guidance where to look at or focus on in order to develop annotations features my self?
@randalleikelboom20993 жыл бұрын
Thanks! This was a great video. It's working great...Is this any guidance on making the viewer more responsive?
@ndilionel2 жыл бұрын
Works great. Thanks. keep up the good work
@arnelarnaldo73765 жыл бұрын
Hello Brad, can you point me to some JS codes that will allow the viewed PDF to be printed? Thanks and more power to you.
@eswarkrishnamaganti64095 жыл бұрын
Hey Brad thanks for All ur videos which helped me a lot to learn Please do a video on ajax php database operations plzz brad
@erfanwinarno4344 жыл бұрын
It's very great video, how about choose file pdf first brother? Not only show file pdf.pdf
@Defense893 жыл бұрын
awesome video!!!!! juste wanted to ask...can we change language of the pdf ? is it customable? anyway to do that? thx for this video really inspired me.
@jonathansloan3344 жыл бұрын
Excellent Video! Thanks for this!
@cesarherrera75095 жыл бұрын
Great tutorial, I was wondering if you have any idea on how to insert a digital pen signature onto a PDF file
@rosalyna_243 жыл бұрын
hey did u find the solution
@amerpro17483 жыл бұрын
Sounds like a fun project
@amitsengupta81363 жыл бұрын
Awesome! Can I view and edit a word document (docx) on a browser? Any thought? Thanks!
@14Magik085 жыл бұрын
Great tutorial, very useful. Thanks!
@SabbirHossain-vh4fo5 жыл бұрын
This is a wonderful video, it would be better if you add zoom in out function on it. :D
@mohamedismaiel58075 жыл бұрын
Thanks for this nice tutorial, Mr. Brad. But why not take it to the next level, I mean is there a way to create a PDF from a view while preserving the style? Thank you again.
@subhajitroy37754 жыл бұрын
Please correct me if I am wrong somewhere, the next and previous buttons were not changing pages but after the following changes queueRenderPage it was working fine const queueRenderPage = num => { if(pageIsRendering){ pageNumIsPending = num; console.log("pageNumIspending"+pageNumIsPending); renderPage(pageNumIsPending); ///// Passed renderPage with the pending number }else{ renderPage(num); } }
@sitikantasatapathy Жыл бұрын
can you help in in this. I want to add zoom in / out functionality
@ishitavemana4 жыл бұрын
I got this error when i am trying to host from google drive to web: Uncaught (in promise) MissingPDFException
@haoyuandong3 жыл бұрын
Have you solved this problem?
@reponseashimwe44693 жыл бұрын
Thank u so much! This was so helpful
@dkmodder44055 жыл бұрын
I have a question; How would I go about creating an xlsx (Excel spreadsheet) file parser for the web which displays the excel sheet? I want to do it in PHP or JavaScript preferably.
@cr0n0s2243 жыл бұрын
Thanks a lot! I have a question: If I move to the third page and reload the page, how can I make it reload on the page, leave me on the third page
@abirbeisekei13822 жыл бұрын
thank you braaaaah... wish you all the bests
@SpringfieldTechCC5 жыл бұрын
Hi Brad! Useful video for sure! One problem though. If the PDF contains a link, the link doesn't seem to work. Any ideas?
@tanganov3 жыл бұрын
I wonder how would you make synchronize with thumbnails list of document (nav panel) while scrolling the whole document?
@Loppy23455 жыл бұрын
Quality content as always.
@davidmucioca64235 жыл бұрын
Hello Brad. Useful tutorial there. How can add loading state to the PDF reader?
@se7ensorrows5 жыл бұрын
Did you ever figure this out? I am trying to do the same
@k40L1n5 жыл бұрын
Thanks Brad. Legendary !!
@josiahphipps8955 жыл бұрын
Hey, this is great, but what about an MIT one?
@vidalroland5 жыл бұрын
Excellent, If you can do a signature formular that can be used in a generated PDF, I'm very interested !
@kywazzyoutube9422 жыл бұрын
I have a question the menu of number page next page and prev page move when i scroll and we don't see this menu when i'm on the footer of the pdf viewer how can i do to the menu is display when i scroll on the bottom
@studiotancaartdancestudiot13005 жыл бұрын
Hello, Thanks for great tutorials. Would You be so kind and make one about parsing PDF files to retrieve text and SIGNATURES (is PDF signed, who signed, when). Howto about signatures is nowhere to find.
@dannyisrael5 жыл бұрын
You are the best
@alipashaamiri16675 жыл бұрын
hey brad can you release a course on flutter? it seems to be an awesome framework.
@belmiris13715 жыл бұрын
Thanks Brad!
@ayatullahkhameni93015 жыл бұрын
why we need this two variable pageIsRendering = false, pageNumIsPending = null; when we just want to get pageNum and wants to call again renderPage() function. const showNextPage = () =>{ if(pageNum >= 5){ return; } pageNum++; renderPage(pageNum); } what's problem with that....it works fine. (I am new in javascript)
@robertocarreira51855 ай бұрын
Hi! I´m trying to follow your tutorial, but I think that things has change since 2019, and the pdf.js library simply don´t load when invoqued, or imported, or the file put under a local folder, so I keep getting error messages of no defined variables and export errors (mime type) from the console. Is there some thing that must be added to the original project, so it keep working fine?
@JohnDoe-qs7mg3 жыл бұрын
Hello, can you manipulate with the number of pages that you just want show in pdf.js?
@coderobot65442 жыл бұрын
Is it possible to limit the pages to be rendered of the pdf file? Like only 2 out of 10 pages of the PDF file should be rendered
@aminem20805 жыл бұрын
thx Brad much appreciated tuts especialy this one. can any tell me how to search in pdf doc
@arpitagrawal5794 жыл бұрын
Great video. But didn't understand what you are doing with pageNumIsPending
@kushalgopee30335 жыл бұрын
If you using XAMPP the ../ can be removed to read docs/pdf.pdf
@sdshsjg5 жыл бұрын
how to add disable right clicking and printing so that the user cannot steal or download or print the pdf ?
@pitchblackc0d3145 жыл бұрын
wot ant screenshot lmao
@mohamedelmeziani40123 жыл бұрын
is there a way to get a text from the pdf when we select smth and return it as a js string?
@manishsahani48675 жыл бұрын
I like the video before watching it
@ajworkswebdesign23645 жыл бұрын
thanks so much sir great work thanks lot
@javiercutillasverdejo24924 жыл бұрын
Currently when opening the index.html file the error (Deprecated API usage: No "GlobalWorkerOptions.workerSrc" specified.) appears. How can we solve it?
@Silent-Scandals2 жыл бұрын
How files are running on local host. I am unable to figure out please help. We have simple html and other files but you are running inside local host
@FajnyAleZaNiski5 жыл бұрын
+1, however this works only if file is not found, if you have not valid pdf document the catch not works, *you can't set promise on getPage or renderTask* !!! the mozilla pdf lib is broken, it not allow to handle other more useful errors !!!
@angeloendozo2563 жыл бұрын
Hi guys im quite confused how the pageNumIsPending got a value of the page number automatically. Was that built-in with the API in the first place? How did it get a value other than null?
@foxsayjs5 жыл бұрын
This video is very useful!
@Saaztube5 жыл бұрын
Hi, I'm trying to export invoices to pdf files, what would be the best way, if I'm using php as my main language? Any suggestions would be welcomed. Thanks!
@BrotherHank5 жыл бұрын
Quick question. What do we do if the PDF file has spaces in the name? I keep getting the error posted with %20 in place of the spaces in the file name.
@prateekdubey40955 ай бұрын
I'm facing an issue with pdfjsLib object is there something i can do to fix that?