This function can convert srt to subtitle of txt format
The infilepath like "D://data//BBC.srt".
The outfilepath like "D://data//BBC.txt"
write file into certain path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.