is there any example for use api with php, javascript?
d
devid diya
started a topic
over 9 years ago
i am trying to create a script for my website where when i add new video on my website so script will auto find subtitles for it... and save it in a file....
I'm not sure I understand it correctly, though. Surely you don't mean you want to add a script to your site that would automatically save subtitle files on your visitors' computers too? Some visitors would not like that and some search engines might block your site.
Or do you mean you want to make a web application (rather than a web site) that people could use to do that? google2srt (see http://google2srt.sourceforge.net/en/) does that for YouTube videos, but it is a desktop application, and you still have to request the download once it has found the subtitles.
Could you perhaps explain a little more, please? Maybe giving an example?
Thank you,
Claude
PCF Support
said
over 9 years ago
Hey devid,
I'm attaching you here the PHP API component I use myself internally at Amara. We are upgrading Amara's API and this code, being my own duct-tape work, is pending a lot of polish and testing and it's missing many API functions, so we haven't made it public yet.
devid diya
i am trying to create a script for my website where when i add new video on my website so script will auto find subtitles for it... and save it in a file....