@@ -23,7 +23,7 @@
 | 
			
		||||
<div class="wrapper">
 | 
			
		||||
  <div class="medium">
 | 
			
		||||
    {% if item == "video" %}
 | 
			
		||||
    <video id="player" src="{{ dest }}" style="/*max-width: 1280px; height: 50%;*/" preload="auto" controls loop></video>
 | 
			
		||||
    <video id="player" src="{{ dest }}" preload="auto" controls loop></video>
 | 
			
		||||
    {% elseif item == "audio" %}
 | 
			
		||||
    {% if thumb != null %}
 | 
			
		||||
    <div>
 | 
			
		||||
@@ -56,6 +56,6 @@
 | 
			
		||||
  <script src="./s/shit.js"></script>
 | 
			
		||||
  <script src="./s/theme.js"></script>
 | 
			
		||||
  <script src="./s/plyr.js"></script>
 | 
			
		||||
  <script>plyr.setup( { autoplay: "true" }  );</script>
 | 
			
		||||
  <script>plyr.setup( { autoplay: "false" }  );</script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								s/style.css
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								s/style.css
									
									
									
									
									
								
							@@ -160,6 +160,11 @@ img {
 | 
			
		||||
    width: 888px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
video#player {
 | 
			
		||||
 	max-width: 100%;
 | 
			
		||||
    height: 50%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Plyr */
 | 
			
		||||
.plyr--audio .plyr__controls {
 | 
			
		||||
    padding: 0;
 | 
			
		||||
@@ -174,7 +179,7 @@ img {
 | 
			
		||||
 | 
			
		||||
.plyr audio, .plyr video {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    height: auto;
 | 
			
		||||
    height: auto!important;
 | 
			
		||||
    vertical-align: middle;
 | 
			
		||||
    border-radius: inherit;
 | 
			
		||||
}
 | 
			
		||||
@@ -243,7 +248,8 @@ img {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.plyr--fullscreen-active video {
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    height: 100%!important;
 | 
			
		||||
    max-width: 100%!important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.plyr--fullscreen-active {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user