mediaelementplayer.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  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-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. border: 0;
  89. }
  90. .mejs-overlay {
  91. position: absolute;
  92. top: 0;
  93. left: 0;
  94. }
  95. .mejs-overlay-play {
  96. cursor: pointer;
  97. }
  98. .mejs-overlay-button {
  99. position: absolute;
  100. top: 50%;
  101. left: 50%;
  102. width: 100px;
  103. height: 100px;
  104. margin: -50px 0 0 -50px;
  105. background: url(bigplay.svg) no-repeat;
  106. }
  107. .no-svg .mejs-overlay-button {
  108. background-image: url(bigplay.png);
  109. }
  110. .mejs-overlay:hover .mejs-overlay-button {
  111. background-position: 0 -100px ;
  112. }
  113. .mejs-overlay-loading {
  114. position: absolute;
  115. top: 50%;
  116. left: 50%;
  117. width: 80px;
  118. height: 80px;
  119. margin: -40px 0 0 -40px;
  120. background: #333;
  121. background: url(background.png);
  122. background: rgba(0, 0, 0, 0.9);
  123. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.9)), to(rgba(0,0,0,0.9)));
  124. background: -webkit-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  125. background: -moz-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  126. background: -o-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  127. background: -ms-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  128. background: linear-gradient(rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  129. }
  130. .mejs-overlay-loading span {
  131. display: block;
  132. width: 80px;
  133. height: 80px;
  134. background: transparent url(loading.gif) 50% 50% no-repeat;
  135. }
  136. /* End: LAYERS */
  137. /* Start: CONTROL BAR */
  138. .mejs-container .mejs-controls {
  139. position: absolute;
  140. list-style-type: none;
  141. margin: 0;
  142. padding: 0;
  143. bottom: 0;
  144. left: 0;
  145. background: url(background.png);
  146. background: rgba(0, 0, 0, 0.7);
  147. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  148. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  149. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  150. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  151. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  152. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  153. height: 30px;
  154. width: 100%;
  155. }
  156. .mejs-container .mejs-controls div {
  157. list-style-type: none;
  158. background-image: none;
  159. display: block;
  160. float: left;
  161. margin: 0;
  162. padding: 0;
  163. width: 26px;
  164. height: 26px;
  165. font-size: 11px;
  166. line-height: 11px;
  167. font-family: Helvetica, Arial;
  168. border: 0;
  169. }
  170. .mejs-controls .mejs-button button {
  171. cursor: pointer;
  172. display: block;
  173. font-size: 0;
  174. line-height: 0;
  175. text-decoration: none;
  176. margin: 7px 5px;
  177. padding: 0;
  178. position: absolute;
  179. height: 16px;
  180. width: 16px;
  181. border: 0;
  182. background: transparent url(controls.svg) no-repeat;
  183. }
  184. .no-svg .mejs-controls .mejs-button button {
  185. background-image: url(controls.png);
  186. }
  187. /* :focus for accessibility */
  188. .mejs-controls .mejs-button button:focus {
  189. outline: dotted 1px #999;
  190. }
  191. /* End: CONTROL BAR */
  192. /* Start: Time (Current / Duration) */
  193. .mejs-container .mejs-controls .mejs-time {
  194. color: #fff;
  195. display: block;
  196. height: 17px;
  197. width: auto;
  198. padding: 10px 3px 0 3px ;
  199. overflow: hidden;
  200. text-align: center;
  201. -moz-box-sizing: content-box;
  202. -webkit-box-sizing: content-box;
  203. box-sizing: content-box;
  204. }
  205. .mejs-container .mejs-controls .mejs-time a {
  206. color: #fff;
  207. font-size: 11px;
  208. line-height: 12px;
  209. display: block;
  210. float: left;
  211. margin: 1px 2px 0 0;
  212. width: auto;
  213. }
  214. /* End: Time (Current / Duration) */
  215. /* Start: Play/Pause/Stop */
  216. .mejs-controls .mejs-play button {
  217. background-position: 0 0;
  218. }
  219. .mejs-controls .mejs-pause button {
  220. background-position: 0 -16px;
  221. }
  222. .mejs-controls .mejs-stop button {
  223. background-position: -112px 0;
  224. }
  225. /* Start: Play/Pause/Stop */
  226. /* Start: Progress Bar */
  227. .mejs-controls div.mejs-time-rail {
  228. direction: ltr;
  229. width: 200px;
  230. padding-top: 5px;
  231. }
  232. .mejs-controls .mejs-time-rail span, .mejs-controls .mejs-time-rail a {
  233. display: block;
  234. position: absolute;
  235. width: 180px;
  236. height: 10px;
  237. -webkit-border-radius: 2px;
  238. -moz-border-radius: 2px;
  239. border-radius: 2px;
  240. cursor: pointer;
  241. }
  242. .mejs-controls .mejs-time-rail .mejs-time-total {
  243. margin: 5px;
  244. background: #333;
  245. background: rgba(50,50,50,0.8);
  246. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  247. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  248. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  249. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  250. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  251. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  252. }
  253. .mejs-controls .mejs-time-rail .mejs-time-buffering {
  254. width: 100%;
  255. 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);
  256. 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));
  257. 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);
  258. 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);
  259. 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);
  260. 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);
  261. -webkit-background-size: 15px 15px;
  262. -moz-background-size: 15px 15px;
  263. -o-background-size: 15px 15px;
  264. background-size: 15px 15px;
  265. -webkit-animation: buffering-stripes 2s linear infinite;
  266. -moz-animation: buffering-stripes 2s linear infinite;
  267. -ms-animation: buffering-stripes 2s linear infinite;
  268. -o-animation: buffering-stripes 2s linear infinite;
  269. animation: buffering-stripes 2s linear infinite;
  270. }
  271. @-webkit-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  272. @-moz-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  273. @-ms-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  274. @-o-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  275. @keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  276. .mejs-controls .mejs-time-rail .mejs-time-loaded {
  277. background: #3caac8;
  278. background: rgba(60,170,200,0.8);
  279. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(44,124,145,0.8)), to(rgba(78,183,212,0.8)));
  280. background: -webkit-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  281. background: -moz-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  282. background: -o-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  283. background: -ms-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  284. background: linear-gradient(rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  285. width: 0;
  286. }
  287. .mejs-controls .mejs-time-rail .mejs-time-current {
  288. background: #fff;
  289. background: rgba(255,255,255,0.8);
  290. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  291. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  292. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  293. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  294. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  295. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  296. width: 0;
  297. }
  298. .mejs-controls .mejs-time-rail .mejs-time-handle {
  299. display: none;
  300. position: absolute;
  301. margin: 0;
  302. width: 10px;
  303. background: #fff;
  304. -webkit-border-radius: 5px;
  305. -moz-border-radius: 5px;
  306. border-radius: 5px;
  307. cursor: pointer;
  308. border: solid 2px #333;
  309. top: -2px;
  310. text-align: center;
  311. }
  312. .mejs-controls .mejs-time-rail .mejs-time-float {
  313. position: absolute;
  314. display: none;
  315. background: #eee;
  316. width: 36px;
  317. height: 17px;
  318. border: solid 1px #333;
  319. top: -26px;
  320. margin-left: -18px;
  321. text-align: center;
  322. color: #111;
  323. }
  324. .mejs-controls .mejs-time-rail .mejs-time-float-current {
  325. margin: 2px;
  326. width: 30px;
  327. display: block;
  328. text-align: center;
  329. left: 0;
  330. }
  331. .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  332. position: absolute;
  333. display: block;
  334. width: 0;
  335. height: 0;
  336. line-height: 0;
  337. border: solid 5px #eee;
  338. border-color: #eee transparent transparent transparent;
  339. -webkit-border-radius: 0;
  340. -moz-border-radius: 0;
  341. border-radius: 0;
  342. top: 15px;
  343. left: 13px;
  344. }
  345. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float {
  346. width: 48px;
  347. }
  348. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current {
  349. width: 44px;
  350. }
  351. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  352. left: 18px;
  353. }
  354. /*
  355. .mejs-controls .mejs-time-rail:hover .mejs-time-handle {
  356. visibility:visible;
  357. }
  358. */
  359. /* End: Progress Bar */
  360. /* Start: Fullscreen */
  361. .mejs-controls .mejs-fullscreen-button button {
  362. background-position: -32px 0;
  363. }
  364. .mejs-controls .mejs-unfullscreen button {
  365. background-position: -32px -16px;
  366. }
  367. /* End: Fullscreen */
  368. /* Start: Mute/Volume */
  369. .mejs-controls .mejs-volume-button {
  370. }
  371. .mejs-controls .mejs-mute button {
  372. background-position: -16px -16px;
  373. }
  374. .mejs-controls .mejs-unmute button {
  375. background-position: -16px 0;
  376. }
  377. .mejs-controls .mejs-volume-button {
  378. position: relative;
  379. }
  380. .mejs-controls .mejs-volume-button .mejs-volume-slider {
  381. display: none;
  382. height: 115px;
  383. width: 25px;
  384. background: url(background.png);
  385. background: rgba(50, 50, 50, 0.7);
  386. -webkit-border-radius: 0;
  387. -moz-border-radius: 0;
  388. border-radius: 0;
  389. top: -115px;
  390. left: 0;
  391. z-index: 1;
  392. position: absolute;
  393. margin: 0;
  394. }
  395. .mejs-controls .mejs-volume-button:hover {
  396. -webkit-border-radius: 0 0 4px 4px;
  397. -moz-border-radius: 0 0 4px 4px;
  398. border-radius: 0 0 4px 4px;
  399. }
  400. /*
  401. .mejs-controls .mejs-volume-button:hover .mejs-volume-slider {
  402. display: block;
  403. }
  404. */
  405. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
  406. position: absolute;
  407. left: 11px;
  408. top: 8px;
  409. width: 2px;
  410. height: 100px;
  411. background: #ddd;
  412. background: rgba(255, 255, 255, 0.5);
  413. margin: 0;
  414. }
  415. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
  416. position: absolute;
  417. left: 11px;
  418. top: 8px;
  419. width: 2px;
  420. height: 100px;
  421. background: #ddd;
  422. background: rgba(255, 255, 255, 0.9);
  423. margin: 0;
  424. }
  425. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
  426. position: absolute;
  427. left: 4px;
  428. top: -3px;
  429. width: 16px;
  430. height: 6px;
  431. background: #ddd;
  432. background: rgba(255, 255, 255, 0.9);
  433. cursor: N-resize;
  434. -webkit-border-radius: 1px;
  435. -moz-border-radius: 1px;
  436. border-radius: 1px;
  437. margin: 0;
  438. }
  439. /* horizontal version */
  440. .mejs-controls a.mejs-horizontal-volume-slider {
  441. height: 26px;
  442. width: 56px;
  443. position: relative;
  444. display: block;
  445. float: left;
  446. vertical-align: middle;
  447. }
  448. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  449. position: absolute;
  450. left: 0;
  451. top: 11px;
  452. width: 50px;
  453. height: 8px;
  454. margin: 0;
  455. padding: 0;
  456. font-size: 1px;
  457. -webkit-border-radius: 2px;
  458. -moz-border-radius: 2px;
  459. border-radius: 2px;
  460. background: #333;
  461. background: rgba(50,50,50,0.8);
  462. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  463. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  464. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  465. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  466. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  467. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  468. }
  469. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  470. position: absolute;
  471. left: 0;
  472. top: 11px;
  473. width: 50px;
  474. height: 8px;
  475. margin: 0;
  476. padding: 0;
  477. font-size: 1px;
  478. -webkit-border-radius: 2px;
  479. -moz-border-radius: 2px;
  480. border-radius: 2px;
  481. background: #fff;
  482. background: rgba(255,255,255,0.8);
  483. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  484. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  485. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  486. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  487. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  488. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  489. }
  490. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
  491. display: none;
  492. }
  493. /* End: Mute/Volume */
  494. /* Start: Track (Captions and Chapters) */
  495. .mejs-controls .mejs-captions-button {
  496. position: relative;
  497. }
  498. .mejs-controls .mejs-captions-button button {
  499. background-position: -48px 0;
  500. }
  501. .mejs-controls .mejs-captions-button .mejs-captions-selector {
  502. visibility: hidden;
  503. position: absolute;
  504. bottom: 26px;
  505. right: -51px;
  506. width: 85px;
  507. height: 100px;
  508. background: url(background.png);
  509. background: rgba(50,50,50,0.7);
  510. border: solid 1px transparent;
  511. padding: 10px 10px 0 10px;
  512. overflow: hidden;
  513. -webkit-border-radius: 0;
  514. -moz-border-radius: 0;
  515. border-radius: 0;
  516. }
  517. .mejs-controls .mejs-captions-button:hover .mejs-captions-selector {
  518. visibility: visible;
  519. }
  520. .mejs-controls .mejs-captions-button .mejs-captions-selector ul {
  521. margin: 0;
  522. padding: 0;
  523. display: block;
  524. list-style-type: none !important;
  525. overflow: hidden;
  526. }
  527. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li {
  528. margin: 0 0 6px 0;
  529. padding: 0;
  530. list-style-type: none !important;
  531. display: block;
  532. color: #fff;
  533. overflow: hidden;
  534. }
  535. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li input {
  536. clear: both;
  537. float: left;
  538. margin: 3px 3px 0 5px;
  539. }
  540. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li label {
  541. width: 55px;
  542. float: left;
  543. padding: 4px 0 0 0;
  544. line-height: 15px;
  545. font-family: helvetica, arial;
  546. font-size: 10px;
  547. }
  548. .mejs-controls .mejs-captions-button .mejs-captions-translations {
  549. font-size: 10px;
  550. margin: 0 0 5px 0;
  551. }
  552. .mejs-chapters {
  553. position: absolute;
  554. top: 0;
  555. left: 0;
  556. -xborder-right: solid 1px #fff;
  557. width: 10000px;
  558. z-index: 1;
  559. }
  560. .mejs-chapters .mejs-chapter {
  561. position: absolute;
  562. float: left;
  563. background: #222;
  564. background: rgba(0, 0, 0, 0.7);
  565. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  566. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  567. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  568. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  569. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  570. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  571. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232,endColorstr=#000000);
  572. overflow: hidden;
  573. border: 0;
  574. }
  575. .mejs-chapters .mejs-chapter .mejs-chapter-block {
  576. font-size: 11px;
  577. color: #fff;
  578. padding: 5px;
  579. display: block;
  580. border-right: solid 1px #333;
  581. border-bottom: solid 1px #333;
  582. cursor: pointer;
  583. }
  584. .mejs-chapters .mejs-chapter .mejs-chapter-block-last {
  585. border-right: none;
  586. }
  587. .mejs-chapters .mejs-chapter .mejs-chapter-block:hover {
  588. background: #666;
  589. background: rgba(102,102,102, 0.7);
  590. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(102,102,102,0.7)), to(rgba(50,50,50,0.6)));
  591. background: -webkit-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  592. background: -moz-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  593. background: -o-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  594. background: -ms-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  595. background: linear-gradient(rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  596. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666,endColorstr=#323232);
  597. }
  598. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title {
  599. font-size: 12px;
  600. font-weight: bold;
  601. display: block;
  602. white-space: nowrap;
  603. text-overflow: ellipsis;
  604. margin: 0 0 3px 0;
  605. line-height: 12px;
  606. }
  607. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan {
  608. font-size: 12px;
  609. line-height: 12px;
  610. margin: 3px 0 4px 0;
  611. display: block;
  612. white-space: nowrap;
  613. text-overflow: ellipsis;
  614. }
  615. .mejs-captions-layer {
  616. position: absolute;
  617. bottom: 0;
  618. left: 0;
  619. text-align:center;
  620. line-height: 20px;
  621. font-size: 16px;
  622. color: #fff;
  623. }
  624. .mejs-captions-layer a {
  625. color: #fff;
  626. text-decoration: underline;
  627. }
  628. .mejs-captions-layer[lang=ar] {
  629. font-size: 20px;
  630. font-weight: normal;
  631. }
  632. .mejs-captions-position {
  633. position: absolute;
  634. width: 100%;
  635. bottom: 15px;
  636. left: 0;
  637. }
  638. .mejs-captions-position-hover {
  639. bottom: 35px;
  640. }
  641. .mejs-captions-text {
  642. padding: 3px 5px;
  643. background: url(background.png);
  644. background: rgba(20, 20, 20, 0.5);
  645. white-space: pre-wrap;
  646. }
  647. /* End: Track (Captions and Chapters) */
  648. /* Start: Error */
  649. .me-cannotplay {
  650. }
  651. .me-cannotplay a {
  652. color: #fff;
  653. font-weight: bold;
  654. }
  655. .me-cannotplay span {
  656. padding: 15px;
  657. display: block;
  658. }
  659. /* End: Error */
  660. /* Start: Loop */
  661. .mejs-controls .mejs-loop-off button {
  662. background-position: -64px -16px;
  663. }
  664. .mejs-controls .mejs-loop-on button {
  665. background-position: -64px 0;
  666. }
  667. /* End: Loop */
  668. /* Start: backlight */
  669. .mejs-controls .mejs-backlight-off button {
  670. background-position: -80px -16px;
  671. }
  672. .mejs-controls .mejs-backlight-on button {
  673. background-position: -80px 0;
  674. }
  675. /* End: backlight */
  676. /* Start: Picture Controls */
  677. .mejs-controls .mejs-picturecontrols-button {
  678. background-position: -96px 0;
  679. }
  680. /* End: Picture Controls */
  681. /* context menu */
  682. .mejs-contextmenu {
  683. position: absolute;
  684. width: 150px;
  685. padding: 10px;
  686. border-radius: 4px;
  687. top: 0;
  688. left: 0;
  689. background: #fff;
  690. border: solid 1px #999;
  691. z-index: 1001; /* make sure it shows on fullscreen */
  692. }
  693. .mejs-contextmenu .mejs-contextmenu-separator {
  694. height: 1px;
  695. font-size: 0;
  696. margin: 5px 6px;
  697. background: #333;
  698. }
  699. .mejs-contextmenu .mejs-contextmenu-item {
  700. font-family: Helvetica, Arial;
  701. font-size: 12px;
  702. padding: 4px 6px;
  703. cursor: pointer;
  704. color: #333;
  705. }
  706. .mejs-contextmenu .mejs-contextmenu-item:hover {
  707. background: #2C7C91;
  708. color: #fff;
  709. }
  710. /* Start: Source Chooser */
  711. .mejs-controls .mejs-sourcechooser-button {
  712. position: relative;
  713. }
  714. .mejs-controls .mejs-sourcechooser-button button {
  715. background-position: -128px 0;
  716. }
  717. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector {
  718. visibility: hidden;
  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;
  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;
  851. font-size: 11.5px;
  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;
  864. background-position: 3px 3px;
  865. }
  866. .mejs-controls .mejs-button.mejs-jump-forward-button button {
  867. background: transparent;
  868. font-size: 9px;
  869. line-height: normal;
  870. color: #ffffff;
  871. }
  872. /* End: Jump Forward */
  873. /* Start: Skip Back */
  874. .mejs-controls .mejs-button.mejs-skip-back-button {
  875. background: transparent url(skipback.png) no-repeat;
  876. background-position: 3px 3px;
  877. }
  878. .mejs-controls .mejs-button.mejs-skip-back-button button {
  879. background: transparent;
  880. font-size: 9px;
  881. line-height: normal;
  882. color: #ffffff;
  883. }
  884. /* End: Skip Back */