mediaelementplayer.css 24 KB

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