-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captions #44
Captions #44
Conversation
I'm split. Normally I would say move the code to islandora and leave the config here in defaults.... however, the code is hard-coding some assumptions about config which makes me less inclined to separate them. So, I'm inclined to keep it here as it is until someone wants to put in the effort to make those hard-coded bits configurable. I wouldn't delay this PR on those grounds. I would like a second opinion before we merge. On an unrelated note, there are some errant UUID properties in a few of the configs that need to be removed. I haven't spun it up yet, hopefully soon. |
The video captions work as advertised. Although, it would be nice to add multiple caption files (for multiple-language support), although I guess that would be getting into a custom field that can store the language code unless we enforce a naming convention and pull the language code from that. |
Yeah, that's a good point - maybe something to bring up at the tech call |
Ok, so i've been looking at this in more detail. https://www.drupal.org/files/issues/2019-10-07/3056714-16.patch the rest of the patch seems like we could just pull it in and then wire up the configuration with the new formatters and such so i'm looking for thoughts on the community preferred way to create updated FieldFormatters. |
@seth-shaw-unlv any thoughts on this? |
I don't have any strong feelings between making a new base or just pulling in those base changes to the new formatters. That said, phpcpd might not like the latter option, so perhaps a new base would avoid the most trouble. |
GitHub Issue:
Islandora/documentation#1305
Islandora/documentation#1003
https://www.drupal.org/project/drupal/issues/3057144
https://www.drupal.org/project/drupal/issues/3056714
Perhaps superseding https://github.com/Islandora/islandora/pull/743/files
What does this Pull Request do?
Adds a caption field for audio and video files and allows them to played in the HTML5 player
What's new?
How should this be tested?
For testing I used the following video and captions: https://github.com/iandevlin/iandevlin.github.io/blob/master/mdn/video-player-with-captions/video/sintel-short.mp4 and https://github.com/iandevlin/iandevlin.github.io/blob/master/mdn/video-player-with-captions/subtitles/vtt/sintel-en.vtt
Additional Notes:
Interested parties
@Islandora/8-x-committers
@Natkeeran