mediaelementplayer.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. .mejs-offscreen{
  2. /* Accessibility: hide screen reader texts (and prefer "top" for RTL languages). Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-how/ */
  3. clip: rect(1px 1px 1px 1px); /* IE6, IE7 - no likey commas */
  4. clip: rect(1px, 1px, 1px, 1px); /* IE8-IE11 - we likey commas, no support for clip-path */
  5. clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
  6. position: absolute !important;
  7. height: 1px;
  8. width: 1px;
  9. overflow: hidden;
  10. }
  11. .mejs-container {
  12. position: relative;
  13. background: #000;
  14. font-family: "Helvetica", Arial, serif;
  15. text-align: left;
  16. vertical-align: top;
  17. text-indent: 0;
  18. }
  19. .mejs-fill-container,.mejs-fill-container .mejs-container{
  20. width: 100%;
  21. height: 100%;
  22. }
  23. .mejs-fill-container{
  24. overflow: hidden;
  25. }
  26. .mejs-container:focus {
  27. outline: none;
  28. }
  29. .me-plugin {
  30. position: absolute;
  31. }
  32. .mejs-embed, .mejs-embed body {
  33. width: 100%;
  34. height: 100%;
  35. margin: 0;
  36. padding: 0;
  37. background: #000;
  38. overflow: hidden;
  39. }
  40. .mejs-fullscreen {
  41. /* set it to not show scroll bars so 100% will work */
  42. overflow: hidden !important;
  43. }
  44. .mejs-container-fullscreen {
  45. position: fixed;
  46. left: 0;
  47. top: 0;
  48. right: 0;
  49. bottom: 0;
  50. overflow: hidden;
  51. z-index: 1000;
  52. }
  53. .mejs-container-fullscreen .mejs-mediaelement,
  54. .mejs-container-fullscreen video {
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .mejs-clear {
  59. clear: both;
  60. }
  61. /* Start: LAYERS */
  62. .mejs-background {
  63. position: absolute;
  64. top: 0;
  65. left: 0;
  66. }
  67. .mejs-mediaelement {
  68. position: absolute;
  69. top: 0;
  70. left: 0;
  71. width: 100%;
  72. height: 100%;
  73. }
  74. .mejs-poster {
  75. position: absolute;
  76. top: 0;
  77. left: 0;
  78. background-size: contain ;
  79. background-position: 50% 50% ;
  80. background-repeat: no-repeat ;
  81. }
  82. :root .mejs-poster img {
  83. display: none ;
  84. }
  85. .mejs-poster img {
  86. border: 0;
  87. padding: 0;
  88. }
  89. .mejs-overlay {
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. }
  94. .mejs-overlay-play {
  95. cursor: pointer;
  96. }
  97. .mejs-overlay-button {
  98. position: absolute;
  99. top: 50%;
  100. left: 50%;
  101. width: 100px;
  102. height: 100px;
  103. margin: -50px 0 0 -50px;
  104. background: url("bigplay.svg") no-repeat;
  105. }
  106. .no-svg .mejs-overlay-button {
  107. background-image: url("bigplay.png");
  108. }
  109. .mejs-overlay:hover .mejs-overlay-button {
  110. background-position: 0 -100px ;
  111. }
  112. .mejs-overlay-loading {
  113. position: absolute;
  114. top: 50%;
  115. left: 50%;
  116. width: 80px;
  117. height: 80px;
  118. margin: -40px 0 0 -40px;
  119. background: #333;
  120. background: url("background.png");
  121. background: rgba(0, 0, 0, 0.9);
  122. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.9)), to(rgba(0,0,0,0.9)));
  123. background: -webkit-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  124. background: -moz-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  125. background: -o-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  126. background: -ms-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  127. background: linear-gradient(rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  128. }
  129. .mejs-overlay-loading span {
  130. display: block;
  131. width: 80px;
  132. height: 80px;
  133. background: transparent url("loading.gif") 50% 50% no-repeat;
  134. }
  135. /* End: LAYERS */
  136. /* Start: CONTROL BAR */
  137. .mejs-container .mejs-controls {
  138. position: absolute;
  139. list-style-type: none;
  140. margin: 0;
  141. padding: 0;
  142. bottom: 0;
  143. left: 0;
  144. background: url("background.png");
  145. background: rgba(0, 0, 0, 0.7);
  146. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  147. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  148. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  149. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  150. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  151. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  152. height: 30px;
  153. width: 100%;
  154. }
  155. .mejs-container .mejs-controls div {
  156. list-style-type: none;
  157. background-image: none;
  158. display: block;
  159. float: left;
  160. margin: 0;
  161. padding: 0;
  162. width: 26px;
  163. height: 26px;
  164. font-size: 11px;
  165. line-height: 11px;
  166. font-family: "Helvetica", Arial, serif;
  167. border: 0;
  168. }
  169. .mejs-controls .mejs-button button {
  170. cursor: pointer;
  171. display: block;
  172. font-size: 0;
  173. line-height: 0;
  174. text-decoration: none;
  175. margin: 7px 5px;
  176. padding: 0;
  177. position: absolute;
  178. height: 16px;
  179. width: 16px;
  180. border: 0;
  181. background: transparent url("controls.svg") no-repeat;
  182. }
  183. .no-svg .mejs-controls .mejs-button button {
  184. background-image: url("controls.png");
  185. }
  186. /* :focus for accessibility */
  187. .mejs-controls .mejs-button button:focus {
  188. outline: dotted 1px #999;
  189. }
  190. /* End: CONTROL BAR */
  191. /* Start: Time (Current / Duration) */
  192. .mejs-container .mejs-controls .mejs-time {
  193. color: #fff;
  194. display: block;
  195. height: 17px;
  196. width: auto;
  197. padding: 10px 3px 0 3px ;
  198. overflow: hidden;
  199. text-align: center;
  200. -moz-box-sizing: content-box;
  201. -webkit-box-sizing: content-box;
  202. box-sizing: content-box;
  203. }
  204. .mejs-container .mejs-controls .mejs-time a {
  205. color: #fff;
  206. font-size: 11px;
  207. line-height: 12px;
  208. display: block;
  209. float: left;
  210. margin: 1px 2px 0 0;
  211. width: auto;
  212. }
  213. /* End: Time (Current / Duration) */
  214. /* Start: Play/Pause/Stop */
  215. .mejs-controls .mejs-play button {
  216. background-position: 0 0;
  217. }
  218. .mejs-controls .mejs-pause button {
  219. background-position: 0 -16px;
  220. }
  221. .mejs-controls .mejs-stop button {
  222. background-position: -112px 0;
  223. }
  224. /* Start: Play/Pause/Stop */
  225. /* Start: Progress Bar */
  226. .mejs-controls div.mejs-time-rail {
  227. direction: ltr;
  228. width: 200px;
  229. padding-top: 5px;
  230. }
  231. .mejs-controls .mejs-time-rail span, .mejs-controls .mejs-time-rail a {
  232. display: block;
  233. position: absolute;
  234. width: 180px;
  235. height: 10px;
  236. -webkit-border-radius: 2px;
  237. -moz-border-radius: 2px;
  238. border-radius: 2px;
  239. cursor: pointer;
  240. }
  241. .mejs-controls .mejs-time-rail .mejs-time-total {
  242. margin: 5px;
  243. background: #333;
  244. background: rgba(50,50,50,0.8);
  245. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  246. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  247. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  248. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  249. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  250. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  251. }
  252. .mejs-controls .mejs-time-rail .mejs-time-buffering {
  253. width: 100%;
  254. background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  255. background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  256. background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  257. background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  258. background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  259. background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  260. -webkit-background-size: 15px 15px;
  261. -moz-background-size: 15px 15px;
  262. -o-background-size: 15px 15px;
  263. background-size: 15px 15px;
  264. -webkit-animation: buffering-stripes 2s linear infinite;
  265. -moz-animation: buffering-stripes 2s linear infinite;
  266. -ms-animation: buffering-stripes 2s linear infinite;
  267. -o-animation: buffering-stripes 2s linear infinite;
  268. animation: buffering-stripes 2s linear infinite;
  269. }
  270. @-webkit-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  271. @-moz-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  272. @-ms-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  273. @-o-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  274. @keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  275. .mejs-controls .mejs-time-rail .mejs-time-loaded {
  276. background: #3caac8;
  277. background: rgba(60,170,200,0.8);
  278. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(44,124,145,0.8)), to(rgba(78,183,212,0.8)));
  279. background: -webkit-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  280. background: -moz-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  281. background: -o-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  282. background: -ms-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  283. background: linear-gradient(rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  284. width: 0;
  285. }
  286. .mejs-controls .mejs-time-rail .mejs-time-current {
  287. background: #fff;
  288. background: rgba(255,255,255,0.8);
  289. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  290. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  291. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  292. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  293. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  294. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  295. width: 0;
  296. }
  297. .mejs-controls .mejs-time-rail .mejs-time-handle {
  298. display: none;
  299. position: absolute;
  300. margin: 0;
  301. width: 10px;
  302. background: #fff;
  303. -webkit-border-radius: 5px;
  304. -moz-border-radius: 5px;
  305. border-radius: 5px;
  306. cursor: pointer;
  307. border: solid 2px #333;
  308. top: -2px;
  309. text-align: center;
  310. }
  311. .mejs-controls .mejs-time-rail .mejs-time-float {
  312. position: absolute;
  313. display: none;
  314. background: #eee;
  315. width: 36px;
  316. height: 17px;
  317. border: solid 1px #333;
  318. top: -26px;
  319. margin-left: -18px;
  320. text-align: center;
  321. color: #111;
  322. }
  323. .mejs-controls .mejs-time-rail .mejs-time-float-current {
  324. margin: 2px;
  325. width: 30px;
  326. display: block;
  327. text-align: center;
  328. left: 0;
  329. }
  330. .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  331. position: absolute;
  332. display: block;
  333. width: 0;
  334. height: 0;
  335. line-height: 0;
  336. border: solid 5px #eee;
  337. border-color: #eee transparent transparent transparent;
  338. -webkit-border-radius: 0;
  339. -moz-border-radius: 0;
  340. border-radius: 0;
  341. top: 15px;
  342. left: 13px;
  343. }
  344. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float {
  345. width: 48px;
  346. }
  347. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current {
  348. width: 44px;
  349. }
  350. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  351. left: 18px;
  352. }
  353. /*
  354. .mejs-controls .mejs-time-rail:hover .mejs-time-handle {
  355. visibility:visible;
  356. }
  357. */
  358. /* End: Progress Bar */
  359. /* Start: Fullscreen */
  360. .mejs-controls .mejs-fullscreen-button button {
  361. background-position: -32px 0;
  362. }
  363. .mejs-controls .mejs-unfullscreen button {
  364. background-position: -32px -16px;
  365. }
  366. /* End: Fullscreen */
  367. /* Start: Mute/Volume */
  368. .mejs-controls .mejs-volume-button {
  369. }
  370. .mejs-controls .mejs-mute button {
  371. background-position: -16px -16px;
  372. }
  373. .mejs-controls .mejs-unmute button {
  374. background-position: -16px 0;
  375. }
  376. .mejs-controls .mejs-volume-button {
  377. position: relative;
  378. }
  379. .mejs-controls .mejs-volume-button .mejs-volume-slider {
  380. display: none;
  381. height: 115px;
  382. width: 25px;
  383. background: url("background.png");
  384. background: rgba(50, 50, 50, 0.7);
  385. -webkit-border-radius: 0;
  386. -moz-border-radius: 0;
  387. border-radius: 0;
  388. top: -115px;
  389. left: 0;
  390. z-index: 1;
  391. position: absolute;
  392. margin: 0;
  393. }
  394. .mejs-controls .mejs-volume-button:hover {
  395. -webkit-border-radius: 0 0 4px 4px;
  396. -moz-border-radius: 0 0 4px 4px;
  397. border-radius: 0 0 4px 4px;
  398. }
  399. /*
  400. .mejs-controls .mejs-volume-button:hover .mejs-volume-slider {
  401. display: block;
  402. }
  403. */
  404. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
  405. position: absolute;
  406. left: 11px;
  407. top: 8px;
  408. width: 2px;
  409. height: 100px;
  410. background: #ddd;
  411. background: rgba(255, 255, 255, 0.5);
  412. margin: 0;
  413. }
  414. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
  415. position: absolute;
  416. left: 11px;
  417. top: 8px;
  418. width: 2px;
  419. height: 100px;
  420. background: #ddd;
  421. background: rgba(255, 255, 255, 0.9);
  422. margin: 0;
  423. }
  424. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
  425. position: absolute;
  426. left: 4px;
  427. top: -3px;
  428. width: 16px;
  429. height: 6px;
  430. background: #ddd;
  431. background: rgba(255, 255, 255, 0.9);
  432. cursor: N-resize;
  433. -webkit-border-radius: 1px;
  434. -moz-border-radius: 1px;
  435. border-radius: 1px;
  436. margin: 0;
  437. }
  438. /* horizontal version */
  439. .mejs-controls a.mejs-horizontal-volume-slider {
  440. height: 26px;
  441. width: 56px;
  442. position: relative;
  443. display: block;
  444. float: left;
  445. vertical-align: middle;
  446. }
  447. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  448. position: absolute;
  449. left: 0;
  450. top: 11px;
  451. width: 50px;
  452. height: 8px;
  453. margin: 0;
  454. padding: 0;
  455. font-size: 1px;
  456. -webkit-border-radius: 2px;
  457. -moz-border-radius: 2px;
  458. border-radius: 2px;
  459. background: #333;
  460. background: rgba(50,50,50,0.8);
  461. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  462. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  463. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  464. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  465. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  466. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  467. }
  468. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  469. position: absolute;
  470. left: 0;
  471. top: 11px;
  472. width: 50px;
  473. height: 8px;
  474. margin: 0;
  475. padding: 0;
  476. font-size: 1px;
  477. -webkit-border-radius: 2px;
  478. -moz-border-radius: 2px;
  479. border-radius: 2px;
  480. background: #fff;
  481. background: rgba(255,255,255,0.8);
  482. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  483. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  484. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  485. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  486. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  487. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  488. }
  489. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
  490. display: none;
  491. }
  492. /* End: Mute/Volume */
  493. /* Start: Track (Captions and Chapters) */
  494. .mejs-controls .mejs-captions-button {
  495. position: relative;
  496. }
  497. .mejs-controls .mejs-captions-button button {
  498. background-position: -48px 0;
  499. }
  500. .mejs-controls .mejs-captions-button .mejs-captions-selector {
  501. visibility: hidden;
  502. position: absolute;
  503. bottom: 26px;
  504. right: -51px;
  505. width: 85px;
  506. height: 100px;
  507. background: url("background.png");
  508. background: rgba(50,50,50,0.7);
  509. border: solid 1px transparent;
  510. padding: 10px 10px 0 10px;
  511. overflow: hidden;
  512. -webkit-border-radius: 0;
  513. -moz-border-radius: 0;
  514. border-radius: 0;
  515. }
  516. .mejs-controls .mejs-captions-button:hover .mejs-captions-selector {
  517. visibility: visible;
  518. }
  519. .mejs-controls .mejs-captions-button .mejs-captions-selector ul {
  520. margin: 0;
  521. padding: 0;
  522. display: block;
  523. list-style-type: none !important;
  524. overflow: hidden;
  525. }
  526. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li {
  527. margin: 0 0 6px 0;
  528. padding: 0;
  529. list-style-type: none !important;
  530. display: block;
  531. color: #fff;
  532. overflow: hidden;
  533. }
  534. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li input {
  535. clear: both;
  536. float: left;
  537. margin: 3px 3px 0 5px;
  538. }
  539. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li label {
  540. width: 55px;
  541. float: left;
  542. padding: 4px 0 0 0;
  543. line-height: 15px;
  544. font-family: "Helvetica", Arial, serif;
  545. font-size: 10px;
  546. }
  547. .mejs-controls .mejs-captions-button .mejs-captions-translations {
  548. font-size: 10px;
  549. margin: 0 0 5px 0;
  550. }
  551. .mejs-chapters {
  552. position: absolute;
  553. top: 0;
  554. left: 0;
  555. border-right: solid 1px #fff;
  556. width: 10000px;
  557. z-index: 1;
  558. }
  559. .mejs-chapters .mejs-chapter {
  560. position: absolute;
  561. float: left;
  562. background: #222;
  563. background: rgba(0, 0, 0, 0.7);
  564. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  565. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  566. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  567. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  568. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  569. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  570. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232,endColorstr=#000000);
  571. overflow: hidden;
  572. border: 0;
  573. }
  574. .mejs-chapters .mejs-chapter .mejs-chapter-block {
  575. font-size: 11px;
  576. color: #fff;
  577. padding: 5px;
  578. display: block;
  579. border-right: solid 1px #333;
  580. border-bottom: solid 1px #333;
  581. cursor: pointer;
  582. }
  583. .mejs-chapters .mejs-chapter .mejs-chapter-block-last {
  584. border-right: none;
  585. }
  586. .mejs-chapters .mejs-chapter .mejs-chapter-block:hover {
  587. background: #666;
  588. background: rgba(102,102,102, 0.7);
  589. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(102,102,102,0.7)), to(rgba(50,50,50,0.6)));
  590. background: -webkit-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  591. background: -moz-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  592. background: -o-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  593. background: -ms-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  594. background: linear-gradient(rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  595. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666,endColorstr=#323232);
  596. }
  597. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title {
  598. font-size: 12px;
  599. font-weight: bold;
  600. display: block;
  601. white-space: nowrap;
  602. text-overflow: ellipsis;
  603. margin: 0 0 3px 0;
  604. line-height: 12px;
  605. }
  606. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan {
  607. font-size: 12px;
  608. line-height: 12px;
  609. margin: 3px 0 4px 0;
  610. display: block;
  611. white-space: nowrap;
  612. text-overflow: ellipsis;
  613. }
  614. .mejs-captions-layer {
  615. position: absolute;
  616. bottom: 0;
  617. left: 0;
  618. text-align:center;
  619. line-height: 20px;
  620. font-size: 16px;
  621. color: #fff;
  622. }
  623. .mejs-captions-layer a {
  624. color: #fff;
  625. text-decoration: underline;
  626. }
  627. .mejs-captions-layer[lang=ar] {
  628. font-size: 20px;
  629. font-weight: normal;
  630. }
  631. .mejs-captions-position {
  632. position: absolute;
  633. width: 100%;
  634. bottom: 15px;
  635. left: 0;
  636. }
  637. .mejs-captions-position-hover {
  638. bottom: 35px;
  639. }
  640. .mejs-captions-text {
  641. padding: 0;
  642. background: url("background.png");
  643. background: rgba(20, 20, 20, 0.5);
  644. white-space: pre-wrap;
  645. -webkit-box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);
  646. box-shadow: 5px 0 0 rgba(20, 20, 20, 0.5), -5px 0 0 rgba(20, 20, 20, 0.5);
  647. }
  648. /* End: Track (Captions and Chapters) */
  649. /* Start: Error */
  650. .me-cannotplay {
  651. }
  652. .me-cannotplay a {
  653. color: #fff;
  654. font-weight: bold;
  655. }
  656. .me-cannotplay span {
  657. padding: 15px;
  658. display: block;
  659. }
  660. /* End: Error */
  661. /* Start: Loop */
  662. .mejs-controls .mejs-loop-off button {
  663. background-position: -64px -16px;
  664. }
  665. .mejs-controls .mejs-loop-on button {
  666. background-position: -64px 0;
  667. }
  668. /* End: Loop */
  669. /* Start: backlight */
  670. .mejs-controls .mejs-backlight-off button {
  671. background-position: -80px -16px;
  672. }
  673. .mejs-controls .mejs-backlight-on button {
  674. background-position: -80px 0;
  675. }
  676. /* End: backlight */
  677. /* Start: Picture Controls */
  678. .mejs-controls .mejs-picturecontrols-button {
  679. background-position: -96px 0;
  680. }
  681. /* End: Picture Controls */
  682. /* context menu */
  683. .mejs-contextmenu {
  684. position: absolute;
  685. width: 150px;
  686. padding: 10px;
  687. border-radius: 4px;
  688. top: 0;
  689. left: 0;
  690. background: #fff;
  691. border: solid 1px #999;
  692. z-index: 1001; /* make sure it shows on fullscreen */
  693. }
  694. .mejs-contextmenu .mejs-contextmenu-separator {
  695. height: 1px;
  696. font-size: 0;
  697. margin: 5px 6px;
  698. background: #333;
  699. }
  700. .mejs-contextmenu .mejs-contextmenu-item {
  701. font-family: "Helvetica", Arial, serif;
  702. font-size: 12px;
  703. padding: 4px 6px;
  704. cursor: pointer;
  705. color: #333;
  706. }
  707. .mejs-contextmenu .mejs-contextmenu-item:hover {
  708. background: #2C7C91;
  709. color: #fff;
  710. }
  711. /* Start: Source Chooser */
  712. .mejs-controls .mejs-sourcechooser-button {
  713. position: relative;
  714. }
  715. .mejs-controls .mejs-sourcechooser-button button {
  716. background-position: -128px 0;
  717. }
  718. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector {
  719. position: absolute;
  720. bottom: 26px;
  721. right: -10px;
  722. width: 130px;
  723. height: 100px;
  724. background: url("background.png");
  725. background: rgba(50,50,50,0.7);
  726. border: solid 1px transparent;
  727. padding: 10px;
  728. overflow: hidden;
  729. -webkit-border-radius: 0;
  730. -moz-border-radius: 0;
  731. border-radius: 0;
  732. }
  733. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul {
  734. margin: 0;
  735. padding: 0;
  736. display: block;
  737. list-style-type: none !important;
  738. overflow: hidden;
  739. }
  740. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li {
  741. margin: 0 0 6px 0;
  742. padding: 0;
  743. list-style-type: none !important;
  744. display: block;
  745. color: #fff;
  746. overflow: hidden;
  747. }
  748. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input {
  749. clear: both;
  750. float: left;
  751. margin: 3px 3px 0 5px;
  752. }
  753. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label {
  754. width: 100px;
  755. float: left;
  756. padding: 4px 0 0 0;
  757. line-height: 15px;
  758. font-family: "Helvetica", Arial, serif;
  759. font-size: 10px;
  760. }
  761. /* End: Source Chooser */
  762. /* Start: Postroll */
  763. .mejs-postroll-layer {
  764. position: absolute;
  765. bottom: 0;
  766. left: 0;
  767. width: 100%;
  768. height: 100%;
  769. background: url("background.png");
  770. background: rgba(50,50,50,0.7);
  771. z-index: 1000;
  772. overflow: hidden;
  773. }
  774. .mejs-postroll-layer-content {
  775. width: 100%;
  776. height: 100%;
  777. }
  778. .mejs-postroll-close {
  779. position: absolute;
  780. right: 0;
  781. top: 0;
  782. background: url("background.png");
  783. background: rgba(50,50,50,0.7);
  784. color: #fff;
  785. padding: 4px;
  786. z-index: 100;
  787. cursor: pointer;
  788. }
  789. /* End: Postroll */
  790. /* Start: Speed */
  791. div.mejs-speed-button {
  792. width: 46px !important;
  793. position: relative;
  794. }
  795. .mejs-controls .mejs-button.mejs-speed-button button {
  796. background: transparent;
  797. width: 36px;
  798. font-size: 11px;
  799. line-height: normal;
  800. color: #ffffff;
  801. }
  802. .mejs-controls .mejs-speed-button .mejs-speed-selector {
  803. display: none;
  804. position: absolute;
  805. top: -100px;
  806. left: -10px;
  807. width: 60px;
  808. height: 100px;
  809. background: url("background.png");
  810. background: rgba(50, 50, 50, 0.7);
  811. border: solid 1px transparent;
  812. padding: 0;
  813. overflow: hidden;
  814. -webkit-border-radius: 0;
  815. -moz-border-radius: 0;
  816. border-radius: 0;
  817. }
  818. .mejs-controls .mejs-speed-button:hover > .mejs-speed-selector {
  819. display: block;
  820. }
  821. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li label.mejs-speed-selected {
  822. color: rgba(33, 248, 248, 1);
  823. }
  824. .mejs-controls .mejs-speed-button .mejs-speed-selector ul {
  825. margin: 0;
  826. padding: 0;
  827. display: block;
  828. list-style-type: none !important;
  829. overflow: hidden;
  830. }
  831. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li {
  832. margin: 0 0 6px 0;
  833. padding: 0 10px;
  834. list-style-type: none !important;
  835. display: block;
  836. color: #fff;
  837. overflow: hidden;
  838. }
  839. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li input {
  840. clear: both;
  841. float: left;
  842. margin: 3px 3px 0 5px;
  843. display: none;
  844. }
  845. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li label {
  846. width: 60px;
  847. float: left;
  848. padding: 4px 0 0 0;
  849. line-height: 15px;
  850. font-family: "Helvetica", Arial, serif;
  851. font-size: 11px;
  852. color: white;
  853. margin-left: 5px;
  854. cursor: pointer;
  855. }
  856. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li:hover {
  857. background-color: rgb(200, 200, 200) !important;
  858. background-color: rgba(255,255,255,.4) !important;
  859. }
  860. /* End: Speed */
  861. /* Start: Jump Forward */
  862. .mejs-controls .mejs-button.mejs-jump-forward-button {
  863. background: transparent url("jumpforward.png") no-repeat 3px 3px;
  864. }
  865. .mejs-controls .mejs-button.mejs-jump-forward-button button {
  866. background: transparent;
  867. font-size: 9px;
  868. line-height: normal;
  869. color: #ffffff;
  870. }
  871. /* End: Jump Forward */
  872. /* Start: Skip Back */
  873. .mejs-controls .mejs-button.mejs-skip-back-button {
  874. background: transparent url("skipback.png") no-repeat 3px 3px;
  875. }
  876. .mejs-controls .mejs-button.mejs-skip-back-button button {
  877. background: transparent;
  878. font-size: 9px;
  879. line-height: normal;
  880. color: #ffffff;
  881. }
  882. /* End: Skip Back */