Meet documentor
turn your meet session into a pdf automatically
Created on 26th June 2022
•
Meet documentor
turn your meet session into a pdf automatically
The problem Meet documentor solves
many times while listening to class or attending any discussion
we come across situations where you feel it would have been awesome if the slides shown in the session were converted into notes.
our project solves this problem.
we have made an extension that gives users the ability to document the meet and get the document in the form of a pdf
use cases
- especially for students attending classes online, this has great importance, they can now easily get the pdf of the entire meet which will be helpful for them in the future for revision.
- unlike other extensions that are available in the market that turn the recorded video into pdf , our solution makes pdf simultaneously as the meet is going on
Challenges we ran into
capture.visible.tab
capture.visible.tab is used to capture the screenshot of the present tab
but to run it we need active tabs and <all_urls> permission
solution
found some references where on how to add permissions to manifest.json file
Reference:
- https://developer.chrome.com/extensions/tabs#method-captureVisibleTab
- https://code.google.com/p/chromium/issues/detail?id=339703#c8
- https://stackoverflow.com/questions/25964869/chrome-screenshot-works-only-when-extension-is-clicked-first
popup.js and chrome. runtime.onclick() can't run at the same time
popup.js was important for the UI part of the extension
chrome,runtime,onclick was required to run capture.visible.tab with all the permissions, without that capture.visible.tab does not run without the tabs permission , which was only possible if it was enclosed by chrome.runtime.onclick
solution
chrome.runtime.onclick was replaced by other function , which runs capture.visible.tab
Could not make the pdf download through the extension
couldn't understand the reason , but downloading the recorded pdf was not possible
solution
made another website that retrieves the PDF . now after recording use has to go to the website and download the PDF
Technologies used