Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #348743 Score: 0
    Profile photo of Erica Hunter
    Erica Hunter
    Member
    beginner
    intermediate
    verified member
    contributor
    curious george
    wise owl
    LUC16 Attendee
    LUC16
    3 pts
    @beeps

    Hi everyone,

    My sponsor asked for us to add Spanish closed captions to a video. Easy. However, I have a couple problems related to formatting.

    1. The closed caption options that display in the video player are “none” and “English.” I changed the course language to Spanish but that didn’t help. Is there a way to have the options to list Spanish?
    2. Can I change the background color of the caption bar? The sponsor wants it solid black.

    If any of this can be done, please let me know. I’m using Lectora 17.

    Thanks!

    #348769 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    friend finder
    26 pts
    @JasonADal

    There seem to be quite a few posts lately around the media players! I’ve been working through configuring the default skin for audio and made some discoveries that can help with option #2.

    I’ve attached my most recent work which has several customizations using CSS to alter various pieces of the audio skin. If you look at the HTML extension, I’ve labeled all the sections and what they do to the audio player – You’re looking for the captions-text, which overrides the setting in the trivantis-player.css using the background value.

    I’m not sure how you might be able to add the Spanish CC or how to add the option to the selector (none/English) even after poking around in the player CSS and HTML except for the div class for the selector and radio button for English.

     

    #348811 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    friend finder
    26 pts
    @JasonADal

    Addendum: I just realized that I uploaded a version prior to saving and re-zipping where the captions background is NOT changed. The section marked as “Changes color for text background” has the * on the wrong side of the / in the note. Sorry about that!

    #348982 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    friend finder
    26 pts
    @JasonADal

    Erica – I did some more digging and found some configuration options for MediaElement, which is very similar to the default player in Lectora and has some information on multiple caption options:

    MediaElement Installation and Configuration

    Also, there’s a Mozilla developer site that has some information that may spark some option:

    MDN Site

    #348985 Score: 0
    Profile photo of Erica Hunter
    Erica Hunter
    Member
    beginner
    intermediate
    verified member
    contributor
    curious george
    wise owl
    LUC16 Attendee
    LUC16
    3 pts
    @beeps

    Thank you for the reply. We pulled out the code for the background and it works great! Now just to figure out the Spanish issue….

    #360185 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    friend finder
    26 pts
    @JasonADal

    Hi Erica – I know it’s been awhile since this post, but I dig something else up while working on my own player specific to adding multiple languages for captions:

    https://github.com/mediaelement/mediaelement/blob/master/docs/usage.md#captions

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.