-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add subtitle/transcript capability #53
Conversation
@bondjimbond |
@Natkeeran It does not require changes, but it would be good to update the Video CModel to make TRANSCRIPT an optional datastream and provide for it. However, this PR should be merged first. |
@adam-vessey @Natkeeran Given my responses above, does this meet standards for approval? |
@jordandukart @Natkeeran I'll take a closer look at the Video CModel (and also Audio) after this is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really, just the access check stuff is necessary to address, I think... the other bits would just be nice to have.
@adam-vessey XACML stuff is sorted out. If you can live with the other bit, I'm happy to let you live with it, because I don't fully understand your suggestion. |
@adam-vessey Ready to merge? |
@bondjimbond: In my mind, sure, but there was also input from others here... is it jumping the gun to merge without resolving it (or at least hearing from them)? Jordan's and Nat's comments? |
@adam-vessey I've responded to them with my comments, they never replied. If they chose not to reply, I think we're free to move forward. |
(Given there has been upward of 16 days to respond to my responses) |
Sorry for chiming in (trying to help a developer friend out here) but were not the rules 24 hours after an approval? Also, since this does not impose a condition on having the CMODEL XML definition changed, but uses DSIDs ,IF present (and CMODEL also being on another module) I personally feel approval is correct and this can be merged. I was not part of the code review but the pull is good. Thanks! |
@DiegoPino is correct - our rule, technically, is that after approval there are 24 hours open for comment before the PR can be merged. After 24 hours of no comments, community assent is presumed. Given that this much time that has passed since both the comments and responses as well as the approval, I don't see a reason to wait any longer. |
... there were outstanding concerns, and I've not tested it (and don't presently have the capacity to do so). Perhaps I was wrong in adding my approval and not just dismissing my stale review? |
I saw no concerns with the code, besides yours, which were addressed -- the only questions outstanding are about other modules. This improvement doesn't actually touch those other modules - it only adds the capability to work with datastreams attached to objects if the DSID exists. I believe we're fine to move forward on this with the goal of eventually making the TRANSCRIPT datastream "official" on those other modules -- but it's not required to do so right now, especially since the DSID here is configurable. It is very hard to even generate discussion on improvements to I7 modules - questions about modules that are not materially affected by this change should not impact whether or not the improvement should happen. |
Alright, let's pull this in. It's been met with approval, albeit limited in some cases, and 24 hrs are way over. I'll be the bad (good?) guy here and merge this. If explosions occur, I'll gladly do the legwork to revert. |
JIRA Ticket: https://jira.lyrasis.org/browse/ISLANDORA-2531
What does this Pull Request do?
Allows Islandora Videojs to display subtitles if they exist on a given audio/video object.
What's new?
If a datastream containing a WebVTT file exists on the object being viewed, if the DSID matches the Islandora Videojs configuration, the player will display them.
How should this be tested?
Sample WebVTT file (save as
file.vtt
):Additional Notes:
The meat of this code was originally written by @bryjbrown for use at FSU; I only adapted it to make it a general-use PR.
Interested parties
@bryjbrown @whikloj @Islandora/7-x-1-x-committers