Open lionel-m opened 11 years ago
Can you please explain this for people who are not working with the mediaelement library every day?
Sorry...
If you add :
features: ['tracks']
And a file for subtitles (ex: file.srt)
<video width="640" height="267">
<source src="video.ogv" type="video/ogg">
<track kind="subtitles" src="media/file.srt" srclang="en" />
</video>
We have a button (cc) displayed with other options :
Example : http://mediaelementjs.com/
We must also specify the language srclang="en"
or srclang="fr"
, etc.
Could you please add the mediaelement tickets (this one and #5293) for version 3.2 ?
Adding subtitles (and also tracks) seems like a good thing. We just do not have a widget yet, which would allow us to configure it. We'd need a combination of file picker and language drop-down menu, right?
@contao/workgroup-core
We'd need a combination of file picker and language drop-down menu, right?
| source | language | label |
Normally, MediaElement automatically adds the label but in English. It would be nice to add our labels.
Ex. : <track kind="subtitles" src="media/mediaelement.srt" srclang="fr" label="Français" />
I tested this option with MediaElement.
There is also another type for chapter : <track kind="chapters" src="chapters.srt" srclang="en" />
kind = chapters | subtitles
We just do not have a widget yet, which would allow us to configure it.
Why not a flexible widget that we can reuse for other features if needed like MultiColumnWizard :)
Can we have the feature tracks (subtitles) as an option in the backend ? (checkbox)