mediaelementplayer.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  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: 3px 5px;
  642. background: url("background.png");
  643. background: rgba(20, 20, 20, 0.5);
  644. white-space: pre-wrap;
  645. }
  646. /* End: Track (Captions and Chapters) */
  647. /* Start: Error */
  648. .me-cannotplay {
  649. }
  650. .me-cannotplay a {
  651. color: #fff;
  652. font-weight: bold;
  653. }
  654. .me-cannotplay span {
  655. padding: 15px;
  656. display: block;
  657. }
  658. /* End: Error */
  659. /* Start: Loop */
  660. .mejs-controls .mejs-loop-off button {
  661. background-position: -64px -16px;
  662. }
  663. .mejs-controls .mejs-loop-on button {
  664. background-position: -64px 0;
  665. }
  666. /* End: Loop */
  667. /* Start: backlight */
  668. .mejs-controls .mejs-backlight-off button {
  669. background-position: -80px -16px;
  670. }
  671. .mejs-controls .mejs-backlight-on button {
  672. background-position: -80px 0;
  673. }
  674. /* End: backlight */
  675. /* Start: Picture Controls */
  676. .mejs-controls .mejs-picturecontrols-button {
  677. background-position: -96px 0;
  678. }
  679. /* End: Picture Controls */
  680. /* context menu */
  681. .mejs-contextmenu {
  682. position: absolute;
  683. width: 150px;
  684. padding: 10px;
  685. border-radius: 4px;
  686. top: 0;
  687. left: 0;
  688. background: #fff;
  689. border: solid 1px #999;
  690. z-index: 1001; /* make sure it shows on fullscreen */
  691. }
  692. .mejs-contextmenu .mejs-contextmenu-separator {
  693. height: 1px;
  694. font-size: 0;
  695. margin: 5px 6px;
  696. background: #333;
  697. }
  698. .mejs-contextmenu .mejs-contextmenu-item {
  699. font-family: "Helvetica", Arial, serif;
  700. font-size: 12px;
  701. padding: 4px 6px;
  702. cursor: pointer;
  703. color: #333;
  704. }
  705. .mejs-contextmenu .mejs-contextmenu-item:hover {
  706. background: #2C7C91;
  707. color: #fff;
  708. }
  709. /* Start: Source Chooser */
  710. .mejs-controls .mejs-sourcechooser-button {
  711. position: relative;
  712. }
  713. .mejs-controls .mejs-sourcechooser-button button {
  714. background-position: -128px 0;
  715. }
  716. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector {
  717. visibility: hidden;
  718. position: absolute;
  719. bottom: 26px;
  720. right: -10px;
  721. width: 130px;
  722. height: 100px;
  723. background: url("background.png");
  724. background: rgba(50,50,50,0.7);
  725. border: solid 1px transparent;
  726. padding: 10px;
  727. overflow: hidden;
  728. -webkit-border-radius: 0;
  729. -moz-border-radius: 0;
  730. border-radius: 0;
  731. }
  732. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul {
  733. margin: 0;
  734. padding: 0;
  735. display: block;
  736. list-style-type: none !important;
  737. overflow: hidden;
  738. }
  739. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li {
  740. margin: 0 0 6px 0;
  741. padding: 0;
  742. list-style-type: none !important;
  743. display: block;
  744. color: #fff;
  745. overflow: hidden;
  746. }
  747. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input {
  748. clear: both;
  749. float: left;
  750. margin: 3px 3px 0 5px;
  751. }
  752. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label {
  753. width: 100px;
  754. float: left;
  755. padding: 4px 0 0 0;
  756. line-height: 15px;
  757. font-family: "Helvetica", Arial, serif;
  758. font-size: 10px;
  759. }
  760. /* End: Source Chooser */
  761. /* Start: Postroll */
  762. .mejs-postroll-layer {
  763. position: absolute;
  764. bottom: 0;
  765. left: 0;
  766. width: 100%;
  767. height: 100%;
  768. background: url("background.png");
  769. background: rgba(50,50,50,0.7);
  770. z-index: 1000;
  771. overflow: hidden;
  772. }
  773. .mejs-postroll-layer-content {
  774. width: 100%;
  775. height: 100%;
  776. }
  777. .mejs-postroll-close {
  778. position: absolute;
  779. right: 0;
  780. top: 0;
  781. background: url("background.png");
  782. background: rgba(50,50,50,0.7);
  783. color: #fff;
  784. padding: 4px;
  785. z-index: 100;
  786. cursor: pointer;
  787. }
  788. /* End: Postroll */
  789. /* Start: Speed */
  790. div.mejs-speed-button {
  791. width: 46px !important;
  792. position: relative;
  793. }
  794. .mejs-controls .mejs-button.mejs-speed-button button {
  795. background: transparent;
  796. width: 36px;
  797. font-size: 11px;
  798. line-height: normal;
  799. color: #ffffff;
  800. }
  801. .mejs-controls .mejs-speed-button .mejs-speed-selector {
  802. display: none;
  803. position: absolute;
  804. top: -100px;
  805. left: -10px;
  806. width: 60px;
  807. height: 100px;
  808. background: url("background.png");
  809. background: rgba(50, 50, 50, 0.7);
  810. border: solid 1px transparent;
  811. padding: 0;
  812. overflow: hidden;
  813. -webkit-border-radius: 0;
  814. -moz-border-radius: 0;
  815. border-radius: 0;
  816. }
  817. .mejs-controls .mejs-speed-button:hover > .mejs-speed-selector {
  818. display: block;
  819. }
  820. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li label.mejs-speed-selected {
  821. color: rgba(33, 248, 248, 1);
  822. }
  823. .mejs-controls .mejs-speed-button .mejs-speed-selector ul {
  824. margin: 0;
  825. padding: 0;
  826. display: block;
  827. list-style-type: none !important;
  828. overflow: hidden;
  829. }
  830. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li {
  831. margin: 0 0 6px 0;
  832. padding: 0 10px;
  833. list-style-type: none !important;
  834. display: block;
  835. color: #fff;
  836. overflow: hidden;
  837. }
  838. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li input {
  839. clear: both;
  840. float: left;
  841. margin: 3px 3px 0 5px;
  842. display: none;
  843. }
  844. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li label {
  845. width: 60px;
  846. float: left;
  847. padding: 4px 0 0 0;
  848. line-height: 15px;
  849. font-family: "Helvetica", Arial, serif;
  850. font-size: 11px;
  851. color: white;
  852. margin-left: 5px;
  853. cursor: pointer;
  854. }
  855. .mejs-controls .mejs-speed-button .mejs-speed-selector ul li:hover {
  856. background-color: rgb(200, 200, 200) !important;
  857. background-color: rgba(255,255,255,.4) !important;
  858. }
  859. /* End: Speed */
  860. /* Start: Jump Forward */
  861. .mejs-controls .mejs-button.mejs-jump-forward-button {
  862. background: transparent url("jumpforward.png") no-repeat 3px 3px;
  863. }
  864. .mejs-controls .mejs-button.mejs-jump-forward-button button {
  865. background: transparent;
  866. font-size: 9px;
  867. line-height: normal;
  868. color: #ffffff;
  869. }
  870. /* End: Jump Forward */
  871. /* Start: Skip Back */
  872. .mejs-controls .mejs-button.mejs-skip-back-button {
  873. background: transparent url("skipback.png") no-repeat 3px 3px;
  874. }
  875. .mejs-controls .mejs-button.mejs-skip-back-button button {
  876. background: transparent;
  877. font-size: 9px;
  878. line-height: normal;
  879. color: #ffffff;
  880. }
  881. /* End: Skip Back */