Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #323505 Score: 0
    Profile photo of Brian Roemer
    Brian Roemer
    Member
    beginner
    intermediate
    friend finder
    curious george
    contributor
    wise owl
    product reviewer
    picture perfect
    4 pts
    @broeme

    I’m working with the closed caption option on some MP4 videos.  Out of the box, it’s working pretty well.  I’ve got a VTT file, and associating it with my video produces the closed captions timed perfectly with my video.

    Here’s my problem.  VTT files should allow you to define some position parameters such as alignment, position, size…etc.  When I apply these attributes to my VTT file, nothing happens.  I get the same results as if the file had no parameters at all (captions appear at the bottom, center justified).  Does Lectora’s player respect these parameters, or am I chasing my tail?  I’ve even tried creating regions in the VTT file and that didn’t work either.

    Thanks!

     

     

    #323545 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    On a separate note, I tried adding VTT file to a Lectora Online course and it didn’t work. It says “XML subtitles” only despite the help detailing use of three formats.

    UPDATE: Ok, I got it. I have to rename .vtt to .xml to be able to upload.

    #323547 Score: 1
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    @broeme, Lectora uses mediaelement.js to play video so you can consult with http://mediaelementjs.com guys to find out which features of VTT they support, whether expanding support is on their roadmap. Or maybe this is a browser issue, VTT support is uneven across browsers (http://caniuse.com/#feat=webvtt)

    This post has received 1 vote up.
    #323582 Score: 0
    Profile photo of Brian Roemer
    Brian Roemer
    Member
    beginner
    intermediate
    friend finder
    curious george
    contributor
    wise owl
    product reviewer
    picture perfect
    4 pts
    @broeme

    Sergey – That’s interesting that you had to rename the file.  I’m attaching the VTT file supplied by our translation service.  Can you upload it without renaming?

    Thanks for the info on Media Element JS.  This is a GREAT lead for me to research further to not only learn more about their closed caption capabilities, but to learn more about the options we have post-publish with their code.

    BrianR

     

     

    #323593 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    I cannot. Lectora only allows me to upload/add an XML file. The file contents can be anything, including WebVTT format, and mediaelement seems to be able to auto-detect it.

    #323635 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Member
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    @ssneg and others:

    Sorry for the confusion. We’ve apparently had a mishap in our Help. Lectora Online (3.1) currently only supports the XML closed caption format. The next release of Lectora Online will also support WebVTT and SRT.

    –  Daryl

    #323645 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    @dfleary, this is what it shows in Lectora 16, too. Just XML (and the file picker also targets XML only). But if I rename .vtt to .xml it can be added and it actually works 🙂

    #323659 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Member
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    @ssneg, yes that is correct.

    • In Lectora 16.0 nothing was changed regarding the media player.
    • In Lectora 16.1 we changed to the HTML5 media player.
    • In Lectora 16.2 we began supporting WebVTT and SRT along with XML captioning.

    Everyone will need to upgrade to the latest version (16.2.1) to use the new CC formats.

    #323663 Score: 0
    Profile photo of Brian Roemer
    Brian Roemer
    Member
    beginner
    intermediate
    friend finder
    curious george
    contributor
    wise owl
    product reviewer
    picture perfect
    4 pts
    @broeme

    Daryl – Thanks for the follow-up.  I recently updated to 16.2.1 so that explains why I had the VTT option.  Circling back to my initial question, are you aware if we can use position and formatting parameters to change the location of the closed caption text?  My initial efforts to add those characteristics have failed to produce results different than the standard bottom/center justification.

    #323670 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Member
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    @broeme

    Yes, I checked on that too. We currently set the closed caption space as side-to-side on the media, and force the text for each line to be centered. Based on this thread, I have already spoken with the development team leads and we will look to allow left, center, and right justified text in the next releases of Lectora Online and Lectora desktop.  Thanks for the suggestion.

    Note: CC has been in the products for years and no on has asked for alignment. In fact, thinking about movies and my TV I don’t think I’ve ever seen anything except centered.

    #323681 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    Daryl, thank you for the explanation, now I get it. I also want to second your comment about CC alignment. I never knew you could even control CC alignment via the subtitle source file and never heard anyone asking for this in 8 years.

    However, I can imagine why someone would want to do that. Imagine CC-ing a software screen recording, there could be a situation when the subtitle text will obscure something important in the lower part of the screen. Also, when CC-ing a video with some hard-coded subtitles (e.g. movie cast list at the beginning of a feature film) one might want to move CC text away from the hard-coded text.

    Anyhow, this conversation should continue on the mediaelement’s GitHub page since this is their code.

    #323683 Score: 0
    Profile photo of Daryl Fleary
    Daryl Fleary
    Member
    beginner
    intermediate
    advanced
    friend finder
    LUC16
    LUC16 Attendee
    contributor
    wise owl
    verified member
    17 pts
    @dfleary

    Yep, I just tried a multi-line CC right aligned and it looks nice. I can envision using it. 

    #324315 Score: 0
    Profile photo of Deirdre McGlynn
    Deirdre McGlynn
    Member
    beginner
    intermediate
    curious george
    advanced
    wise owl
    @dmcglynn8112

    Attached a screen cap of the css (HTML extension , Cascading Style Sheet type) we used to format the VTT audio captions the way we wanted them.  Worked like a charm 🙂

    I did not have any difficulty importing WebVTT captions one by one each of my audio files, but I had hoped to bring them en masse into Lectora’s media library, to make this process easier (we have a lot of audio!).  Unfortunately, the media library does not recognize the WebVTT file type yet, so I couldn’t import all of them at once. (Please let me know if that will change in an upcoming Lectora Publisher update!)

     

    #329168 Score: 0
    Profile photo of Brian Roemer
    Brian Roemer
    Member
    beginner
    intermediate
    friend finder
    curious george
    contributor
    wise owl
    product reviewer
    picture perfect
    4 pts
    @broeme

    Quick follow-up question regarding closed caption.  By default, the cc text is turned off, and the user has to click the cc button and choose a language for the text to appear.  Is there a way to have the closed caption text appear by default?  Thanks!

    #329170 Score: 1
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    199 pts
    @Klaatu

    Yeah. Try the following placed in a Run JavaScript action on show of the video player.

    $(‘video125’).objMedia({
    startLanguage: ‘en’
    });

    Replace video125 with the HTML Name of your video player.

     

    This post has received 1 vote up.
Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.