Handle video content for mobile views
This commit is contained in:
		
							parent
							
								
									b3c46080af
								
							
						
					
					
						commit
						7642b6ac29
					
				@ -595,6 +595,14 @@ h1 {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.youtube-video {
 | 
				
			||||||
 | 
					    max-width: 100%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.internal-video {
 | 
				
			||||||
 | 
					    max-width: 100%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:root {
 | 
					:root {
 | 
				
			||||||
    --color-vhvorne: #ddcb55;
 | 
					    --color-vhvorne: #ddcb55;
 | 
				
			||||||
    --color-vhmitte: #c98879;
 | 
					    --color-vhmitte: #c98879;
 | 
				
			||||||
 | 
				
			|||||||
@ -2,6 +2,7 @@
 | 
				
			|||||||
{{ with .Get "poster" }}poster="{{ . }}"{{ end }}
 | 
					{{ with .Get "poster" }}poster="{{ . }}"{{ end }}
 | 
				
			||||||
{{ with .Get "width" }}width="{{ . }}"{{ end }}
 | 
					{{ with .Get "width" }}width="{{ . }}"{{ end }}
 | 
				
			||||||
{{ with .Get "height" }}height="{{ . }}"{{ end }}
 | 
					{{ with .Get "height" }}height="{{ . }}"{{ end }}
 | 
				
			||||||
 | 
					class="internal-video"
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
    <source
 | 
					    <source
 | 
				
			||||||
    {{ with .Get "type" }}type="{{ . }}"{{ end }}
 | 
					    {{ with .Get "type" }}type="{{ . }}"{{ end }}
 | 
				
			||||||
 | 
				
			|||||||
@ -5,5 +5,6 @@
 | 
				
			|||||||
    title="{{ with .Get "title" }}{{ . }}{{ else }}YouTube video player{{ end }}"
 | 
					    title="{{ with .Get "title" }}{{ . }}{{ else }}YouTube video player{{ end }}"
 | 
				
			||||||
    frameborder="0"
 | 
					    frameborder="0"
 | 
				
			||||||
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
 | 
					    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
 | 
				
			||||||
    allowfullscreen>
 | 
					    allowfullscreen
 | 
				
			||||||
 | 
					    class="youtube-video">
 | 
				
			||||||
</iframe>
 | 
					</iframe>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user