arabic subtitle

13 views
Skip to first unread message

patrice pellier

unread,
Dec 14, 2015, 4:43:15 AM12/14/15
to MediaElement.js

(Sorry for my english…)


Hello, I use mediaelement to play a video.
The arabic subtitles changes between the srt files and the video player.


In the srt file : the 3 points are on the left (where they have to be).

on the video : the 3 points jump on the right



I think this is about the arabic is wrotten from the right to the left.

I have the attribut lang="arabic" int the div-caption (class="mejs-captions-layer mejs-layer")

Does somebody have an idea to fixe that ?

John Dyer

unread,
Dec 14, 2015, 6:59:04 AM12/14/15
to mediael...@googlegroups.com
Try adding the following CSS:

.mejs-captions-text {
dir: rtl;
}

--
You received this message because you are subscribed to the Google Groups "MediaElement.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mediaelementj...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
John Dyer - http://j.hn/

patrice pellier

unread,
Dec 14, 2015, 8:33:05 AM12/14/15
to MediaElement.js
Hi
thanks

It doesn't works with
dir: rtl;
but it works well with :
direction: rtl;
Reply all
Reply to author
Forward
0 new messages