Can you give me the ID and I’ll check it?
Also, can you give me a URL of where you’ve added the transcript shortcode and it’s not worked?
David.
That’s the video ID: XXXXXXXXX
And here’s the link: XXXXXXXXX
Thanks a lot.
I can see the problem – the URL I use assumes the English transcript, which there isn’t one for. A bit of an ommision on my part.
I’ll add the option to specify the language in the next release of the plugin.
If this is the only transcript you’re using and want to fix it in the meantime then in the plugin’ folder open up the file includes/aye-generate-transcript.code-php and find the line…
$return = aye_get_file( 'http://video.google.com/timedtext?lang=en&v=' . $id );
Replace lang=en with whichever language you wish.
David.
Hmmmm… I replaced lang=en with lang=de for german but it doesn’t seem to work :-/
That’s probably the cache – the default, I believe, for transcripts is 24 hours. You can adjust this in the YouTube Embed Options screen.
David.
Will I have to wait at least 1 hour, then? I tried to empty the cache but it didn’t help. Now I set all values to 1 hour…
Oh I noticed now that putting the transcript cache to zero works! But the transcript is added as text only and isn’t interacting with the video. Is this normal?
Yes, that’s all it does. YouTube simply returns the script.
David.
Ok! Thanks a lot for helping me! That’s great… I wish you a wonderful sunday.
We have now added the ability to specify a language for the transcript in version 3.1
Applian.