mediaelementplayer.css 24 KB

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