Additional YouTube settings for Interactive Video
One of my clients is looking to add subtitles/closed captions for videos in multiple languages. We will probably use YouTube to host the videos, and YouTube has a pretty robust way of handling multilingual subtitles and captions. In addition, the default YouTube player includes buttons to turn captions on/off and allows you to select the language via the settings button.
When viewing a YouTube video using H5P's interactive video player, however, the only setting available is video quality. Would it be possible to also incorporate the CC and language settings into the H5P player, too (at least for when YouTube videos are used)? I may be interested in sponsoring such work if it is possible.
Tue, 06/21/2016 - 10:27
The YouTube API seems to be
The YouTube API seems to be supporting captions, so yes, it is possible to get these YouTube captions to show up in H5P as well. I don't know if they will work and behave exactly the same though. We can look more into it and provide you with an estimate if you're interested?
Wed, 06/22/2016 - 16:01
Actually, it turns out we can
Actually, it turns out we can't use YouTube for this project and we are looking at Vimeo Pro instead. Would it be possible to get an estimate on adding captioning/language selection features added that would work with Vimeo videos?
Thu, 06/23/2016 - 11:33
You're uploading the
You're uploading the captioning to Vimeo and want to use those via H5P? Or could you upload the captioning to H5P instead?
Could you be more specific regarding the language selection features?
Thu, 06/23/2016 - 17:25
I think we would actually be
I think we would actually be fine with doing the captioning either in Vimeo or directly in H5P, as long as a standard caption file format is used (the client has been discussing SRT files, but I think other standard formats would be fine, too) and multiple languages are supported. By "language selection" I just mean the ability to select the language of the captions (since they want to provide captions/subtitles in multiple languages). So, basically, what I need is this:
<li>Support for captions/subtitles on H5P Interactive Videos (with the caption files imported either in Vimeo or directly in H5P)</li>
<li>The ability for the end user to turn captions on/off from the H5P video player interface</li>
<li>The ability for the end user to select the language of the captions from the H5P video player interface</li>
Let me know if you need any additional clarification or information about our needs. Thanks!
Thu, 06/23/2016 - 17:26
Incidentally, the allowed
Incidentally, the allowed HTML tags for the "simple-html" text format on these forums never seem to work for me (as you can see in my message above!).
Mon, 06/27/2016 - 10:51
If you use the wysiwyg editor
If you use the wysiwyg editor you have to use it's corresponding buttons. If you type in the tags the wysigyg editor replaces them with special chars for you... Don't know why the system doesn't just hide those guides when the wysiwyg is enabled...
Tue, 06/28/2016 - 19:24
Sending you the estimates
Sending you the estimates soon.
Mon, 06/27/2016 - 10:52
Ok, thanks for the
Ok, thanks for the clarifications. The most experience Interactive Video developer is sick today. Will estimate this once he is back.
Wed, 10/26/2016 - 15:28
Hi falcon, I hope you are
Hi falcon, I hope you are still following this thread as I could not find a way to contact you directly :)
My organization is looking to swithc a lot of our elearning development work to utilize H5P and one of the biggest setbacks currently is that our videos (YouTube) have to have an option to show the captions. Just like the original post. I am wondering if we can connect on this, and get a development estimate from you on this as well.
Looking forward to hearing from you.
Thu, 10/27/2016 - 09:44
Hi Roman,I think this would
I think this would help many in the community. In order to discuss the costs of funding this you might send an e-mail to [email protected] and I'll get back you you on e-mail.
Tue, 06/21/2016 - 15:55
Yes, please send me an
Yes, please send me an estimate! Also, I've played around with this a bit, and it appears that if a YouTube video has captions (and a user has captions turned on for YT videos), then they seem to appear in an Interactive Video just as they normally do on YouTube. The functionality I need is the ability to turn the captions on/off and switch the language via the H5P interface. Thanks.
Thu, 11/10/2016 - 17:55
I played with the YouTube API
I played with the YouTube API a little bit. Just have a look at my preliminary results. Are these the droids you're looking for?
Fri, 11/11/2016 - 08:57
Great, otacke :) It seems to
Great, otacke :) It seems to work great with my limited testing!
Wed, 01/25/2017 - 14:14
I need it
That's great. I need to have subtitels in my youtube videos. I'm using Moodle integration, and is it possible to implement it in Moodle? If yes, can you provide some information how to implement it.
Wed, 01/25/2017 - 14:22
Unfortunately, my solution
Unfortunately, my solution seems to have trouble with Youtube's API lately, but I know for a fact that a different solution is on it's way. However, it may still take some time.
Thu, 11/10/2016 - 18:12
Awesome! That's perfect.
Awesome! That's perfect. Thanks! H5P team, can we get this into the next release?
Fri, 11/11/2016 - 09:14
I hard to say right now when
I hard to say right now when this will be released. First of all, we need a pull request, and then we can plan it into a release. But it certainly is a good addition :)
Fri, 11/11/2016 - 15:04
In a nutshell: Currently I am
In a nutshell: Currently I am pretty busy and I probably won't get around to create a pull request before the end of next week.
There are still some minor issues that I want to check. For example, right now loading the captions module from YouTube and setting the language use a best effort approach - which seems to be enough, but I know this might cause trouble. Really tiny: putting the "no captions" option on top of the list. Otherwise it would practically be hidden if you have a lots of supported languages like some of the TED conference videos. I also want to have a look at the idea that I mentioned in my blog post. Right now, you will have to start a video before you're able to select a language or to select the video quality. That's a YouTube sublety. You could autostart the video in order to collect information about the available languages and quality options, stop the video, and then jump back to the start. This will probably only take a fraction of a second, but it might be visible and a little annoying.
Also, there's a question open for debate related to the icons: Is the way it's working now still feasible, that is showing all the icons on large displays, but move some of them to a separate popup menu on small displays? The latter option might as well be the default for all display sizes. Changing the icons might be in place as well: YouTube displays a message saying to click on a cog symbol for accessing the advanced video options - although I am not quite sure if focussing on YouTube would be the right way to go. Anyway, H5P uses the three dots button (ellipsis-v) as the equivalent for the advanced options, and H5P uses the cog for the quality settings. So, the cog might replace the three dots for advanced options, and a different symbol might be used for the quality settings, e.g. cogs (which would be close to the present one), or possibly diamond (reminds me of high quality), sliders (might work, but could as well be any other option), or something completely different. What do yo - all the users of H5P - think about these questions?
Mon, 11/14/2016 - 08:46
That's a YouTube sublety. You
I would not recommend this, since:
I'll leave the rest of the questions to the actual H5P-users :)
Mon, 11/14/2016 - 18:55
Thanks for the hint! I didn't
Thanks for the hint! I didn't know that you have to actively start a video on the iPad.
Sun, 11/27/2016 - 23:47
Well, there was no feedback
Well, there was no feedback on the open issues, so I guess it should be fine as is for now. I created a pull request, but I am willing to change details later, too.
Mon, 11/28/2016 - 10:44
An issue has been created to
An issue has been created to review the pull request:
Hopefully it wil pass all the tests and be merged soon.
Mon, 11/28/2016 - 11:21
I also hope that it'll pass
I also hope that it'll pass all tests, but I guess it's normal that some modifications might still be necessary.
Wed, 02/08/2017 - 19:32
Could there be another
Could there be another setting for the H5P.Video library that sets the cc_load_policy to 1 as an option for YouTube videos? This would show the captions by default (if checked).
For the H5P.InteractiveVideo library, could there be a CC button like the YouTube embed has? It looks like the Interactive Video has controls=0 to hide the YouTube controls so the H5P controls can handle things. A CC button would be able to toggle closed captions (from YouTube) on/off using
It looks like the InteractiveVideo is doing a lot, so I wanted to see if there is a better way of doing this or if the H5P core group is working on this feature. It looks like the pull request by otacke was closed by him because YouTube removed the features that he was using. (sad)
Thu, 02/09/2017 - 10:08
This is a great suggestion,
This is a great suggestion, but it must be implemented in a way so that it takes into account the different sources that can be used by Interactive Video. I've seen this requested earlier, so hopefully, this is something that will be added by someone soon.
Thank you for sharing your thoughts.
Sat, 04/08/2017 - 03:03
Hi, you are doing a perfect job but it's very important to have subtitles for e-learning projects. Any help for a custom button to implement the nmillin's suggestion?
Mon, 04/10/2017 - 09:37
There is a Pull Request, but
There is a Pull Request, but no one has reviewed it yet. Progress can be monitored here: HFP-281
Mon, 04/10/2017 - 14:44
Pull Request Closed
Please put this on hold. It seems that YouTube changed some things in their API, and now captions don't work anymore.
I guess that YouTube finally purged some unofficial features that have not been documented. Their DataAPI would be the proper way to go.
TLDR; back to the drawing board.
Mon, 04/10/2017 - 14:54
Ah, thank you for sharing!
Ah, thank you for sharing!