If you let the app translate the following line into another language
00:00:04.580 --> 00:00:06.660
then they often spoil it, for example there will be
00:00: 04.580 ->00:00:06.660
So I have to change it to the format
seconds ## seconds
After the translation is done, change it back to hhmmss --> hhmmss
After the file srt (or vtt) is extracted from youtube video
(using downsub.com for example)
let open this html code and parse it inside textarea with id="area1"
Tap the finame of this html to run it. Tap "OK" to change to seconds ## seconds format
Tap this button "COPY" then open Google translator app.
Translate the text to another language.
Proxy script (or proxy program) is a script, wich is located between the user's browser and the "target server". Here I'would like to make a simple demo for PHP-Jquery-script proxy method. So far in my blog I just use YouTube API v.3 and JavaScript-jQuery to find videos. This time I try to use PHP language and jQuery to find videos. We often hear about "Web scraping with PHP," which can be roughly considered to include 9/10 PHP and 1/10 jQuery. Now I want to do it again but with 1/10 PHP and 9/10 jQuery. This page ("php-jquery-proxy.html") is for web scraping using mainly jquery-ajax in combination with only one function from PHP language (get_file_contents function). Using it I can get video ids, video titles from the source code of youtube pages and watch those videos continuously. To use this page you don't need to have Youtube API-3 key but need to download from Internet the XAMPP package...
Previously in March and April 2016 I posted OBSERVE nextPageToken IN YOUTUBE JSON DATA and SEARCH BY KEYWORD - GETTING MAXIMAL NUMBER OF ITEMS. Now those posts were old, some links were broken, They are written for PC and then youtube did not restrict video search by granting quota. Now I update it to suit the quota situation and write for programming on the ipad. <!DOCTYPE html> <html> <meta charset= "utf-8" > <meta name= "viewport" content= "width=device-width, initial-scale=1" > <meta name= "author" content= "pvhung20" > <head> <script src= "https://code.jquery.com/jquery-3.6.0.js" ></script> <style> body { font-family :Arial; font-size : 14pt ; background-color : #003333 ; margin : 0px ; padding : 0px ; margin-bottom : 50px ; color : white ; } button , input , textarea , span { font-size : 14pt ; } textarea { ...
Pixabay API sample demo Make code Copy the below code #seleArea #result OPEN THE BELOW ADDRESS TO TEST SLIDESHOW https://pvhung20.000webhostapp.com/pixabay-6b-71b-search.html