Foliovision › Forums › FV Player › How to … › Youtube Subtitles
-
-
Hi Michael,
If you mean the demo on this page (the second video), then you can use the button in the bottom right corner of the video box (it looks like three horizontal stripes) during the playback. It will open a small drop-down list where you can select the language of the subtitles or turn them off.
Thanks,
EduardHi Michael,
The YouTube API, unfortunately, doesn’t allow us to control the YouTube subtitles via our player and downloading them is not very easy.
Thanks,
EduardHi Michael,
Here is a demo where you can see how it will work – https://foliovision.com/player/demos/youtube-subtitles.
Thanks,
EduardIs there a parameter that I need to add to the shortcode for the youtube subtitles to work? The subtitles menu appears to be hidden in the css by default. I tried toggling the subtitles settings on and off in both the shortcode and global options, but no luck. Would it be possible to include an example of the shortcode you used on the demo or let me know of any additional settings that need to be enabled? Thank you for your help with this!
Hi Michael,
As I said, loading the YouTube subtitles is a built in feature and doesn’t require any other settings or shortcode parameters. All it should take is to update the FV Player Pro plugin to version 0.8.24 and make sure you are using the Beta mode.
Thanks,
EduardHello,
Thank you so much for your patience with this. I was able to get the subtitles to show from youtube but it only works when the subtitles are set to show in the individual video settings in youtube.
My question is when a video does have subtitles but is not defaulted to show them in youtube, is there a way to still pull them through the fv player? This page demonstrates what I’m talking about: https://www.stage13.com/video-testing/
The top video has subtitles but they are not defaulted to on in youtube. The second video has the subtitles defaulted to on. Ideally I would like the video to play without subtitles but have the menu show and give visitors the option to turn them on. Hope this makes sense, thank you so much for your help!
Hi Michael,
Thanks for pointing this out. The difference between these two videos is that the first one has auto-generated subtitles and the second one has a regular subtitle file attached. Therefore the default setting is not a factor here.
Auto-generated subtitles work differently, but we haven’t analyzed them yet. We might do so in the future, though.
Thanks,
Eduard