-
Notifications
You must be signed in to change notification settings - Fork 56
/
mediaelement.srt
61 lines (46 loc) · 1.34 KB
/
mediaelement.srt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
0
00:00:00,1 --> 00:00:04
HTML5 <video> and <audio> was supposed to be awesome, powerful, and fun.
1
00:00:04 --> 00:00:07
But browser vendors couldn't agree on a codec
2
00:00:07 --> 00:00:10
and older browsers don't support <video> at all.
3
00:00:10 --> 00:00:12
This means <video src="myfile.mp4" /> doesn't work ...
4
00:00:12 --> 00:00:14
until now.
5
00:00:14 --> 00:00:18
Introducing MediaElement.js, an HTML5 <video> and <audio> player
6
00:00:18 --> 00:00:21
that looks and works the same in every browser (even iPhone and Android).
7
00:00:21 --> 00:00:24
For older browsers, it has custom Flash and Silverlight plugins
8
00:00:24 --> 00:00:27
that fully replicate the HTML5 MediaElement API
9
00:00:27 --> 00:00:30
so you can build a consistent control UI using just HTML and CSS.
10
00:00:30 --> 00:00:33
MediaElement.js even supports newer standards
11
00:00:33 --> 00:00:36
like the <track> element that enables the subtitles you're reading right now.
12
00:00:36 --> 00:00:39
The subtitles can even be translated into any language using Google's Translation API.
13
00:00:39 --> 00:00:42
As a bonus, the Flash and Silverlight fallbacks allow you to use FLV and WMV files.
14
00:00:42 --> 00:00:45
Hope you like it.
Come follow me at <a href="http://twitter.com/johndyer">twitter.com/johndyer</a>