format
This commit is contained in:
		
							parent
							
								
									6221fbb096
								
							
						
					
					
						commit
						c558ee3bdb
					
				| @ -31,11 +31,11 @@ class VideoFileHandlerTheme extends Themelet | |||||||
|                 $html .= "<!--[if IE]><p>To view webm files with IE, please <a href='https://tools.google.com/dlpage/webmmf/' target='_blank'>download this plugin</a>.</p><![endif]-->"; |                 $html .= "<!--[if IE]><p>To view webm files with IE, please <a href='https://tools.google.com/dlpage/webmmf/' target='_blank'>download this plugin</a>.</p><![endif]-->"; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
| 			$autoplay = ($autoplay ? ' autoplay' : ''); |             $autoplay = ($autoplay ? ' autoplay' : ''); | ||||||
| 			$loop     = ($loop ? ' loop' : ''); |             $loop     = ($loop ? ' loop' : ''); | ||||||
| 			$mute     = ($mute ? ' muted' : ''); |             $mute     = ($mute ? ' muted' : ''); | ||||||
| 
 | 
 | ||||||
| 			$html .= " |             $html .= " | ||||||
| 				<video controls class='shm-main-image' id='main_image' alt='main image' poster='$thumb_url' {$autoplay} {$loop} {$mute} | 				<video controls class='shm-main-image' id='main_image' alt='main image' poster='$thumb_url' {$autoplay} {$loop} {$mute} | ||||||
| 				style='height: $height; width: $width; max-width: 100%; object-fit: contain; background-color: black;'> | 				style='height: $height; width: $width; max-width: 100%; object-fit: contain; background-color: black;'> | ||||||
| 					<source src='{$ilink}' type='{$mime}'> | 					<source src='{$ilink}' type='{$mime}'> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user