File tree Expand file tree Collapse file tree 2 files changed +23
-15
lines changed
Expand file tree Collapse file tree 2 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 66.hi-video-wrapper {
77 color : # fff ;
88 background : rgba (0 , 0 , 0 , 0.75 );
9- width : 800px ;
10- height : 300px ;
119 position : relative;
1210}
1311
4038 position : absolute;
4139 left : 0 ;
4240 bottom : 0 ;
43- z-index : 10000 ;
41+ z-index : 2147483647 ;
4442 padding : 10px 0 ;
4543}
4644
6260
6361.hi-video-controlbar .video-play {
6462 width : 5% ;
65- min-width : 20 px ;
63+ min-width : 5 px ;
6664 text-align : center;
6765 cursor : pointer;
6866 vertical-align : middle;
9391}
9492
9593.hi-video-controlbar .video-slider {
96- width : 70 % ;
97- min-width : 20 px ;
94+ width : 65 % ;
95+ min-width : 10 px ;
9896 position : relative;
9997 z-index : 0 ;
10098 display : inline-block;
181179
182180.hi-video-controlbar .video-mute {
183181 width : 5% ;
184- min-width : 20 px ;
182+ min-width : 5 px ;
185183 text-align : center;
186184 cursor : pointer;
187185}
196194
197195.hi-video-controlbar .video-volume {
198196 width : 15% ;
199- min-width : 20px ;
197+ min-width : 10px ;
198+ overflow : hidden;
200199}
201200
202201.hi-video-controlbar .video-fullscreen {
203- width : 5 % ;
204- min-width : 20 px ;
202+ width : 10 % ;
203+ min-width : 5 px ;
205204 text-align : center;
206205 cursor : pointer;
207206}
Original file line number Diff line number Diff line change 66 < link rel ="stylesheet " href ="assets/hivideo.css " />
77 < script type ="text/javascript " src ="hivideo.js "> </ script >
88 < style type ="text/css ">
9+ .main-wrap {
10+ margin : 0 auto;
11+ min-width : 320px ;
12+ max-width : 640px ;
13+ }
914
15+ .main-wrap video {
16+ width : 100% ;
17+ }
1018 </ style >
1119</ head >
1220< body >
13- < video ishivideo ="true " autoplay ="true " isrotate ="true " autoHide ="false ">
14- < source src ="assets/video.mp4 " type ="video/mp4 ">
15- < source src ="https://media.w3.org/2010/05/sintel/trailer.mp4 " type ="video/mp4 ">
16- </ video >
17-
21+ < div class ="main-wrap ">
22+ < video ishivideo ="true " autoplay ="true " isrotate ="true " autoHide ="false ">
23+ < source src ="http://www.html5videoplayer.net/videos/madagascar3.mp4 " type ="video/mp4 ">
24+ <!--<source src="https://media.w3.org/2010/05/sintel/trailer.mp4" type="video/mp4">-->
25+ </ video >
26+ </ div >
1827</ body >
1928</ html >
You can’t perform that action at this time.
0 commit comments