5/26/2023 0 Comments Transcript yt![]() Send an action message result with summary payload using to notify popup.js to display the summarized text. ![]() Click on the 'More options' icon (shown as three horizontal dots '.'), then choose 'Open transcript'. In call back function, extract the URL of the current tab and make a GET HTTP request using XMLHTTPRequest Web API to the backend to receive summarized text as a response. Visit YouTube, find the video you want to transcribe.Add event listener to listen message generate which will execute the generateSummary callback function.In callback function, display the summary in the div element programmatically using Javascript.Īdd the line below to content_scripts in the manifest file which will inject the content script contentScript.js declaratively and execute the script automatically on a particular page.Add event listener to listen message result from contentScript.js which will execute the outputSummary callback function.In anonymous function, send an action message generate using method to notify contentScript.js to execute summary generation.When DOM is ready, attach event listener with event type as "click" to the Summarize button and pass second parameter as an anonymous callback function. Buka situs Pilih Bahasa Indonesia Tempel tautan video YouTube yang akan ditranskrip Kemudian klik Transkrip Baca juga: Google Meet Uji Coba Fitur Transkrip Terjemahan ke Beberapa Bahasa Nantinya akan muncul hasil transkrip dari video YouTube tersebut.
0 Comments
Leave a Reply. |