.mediaBBCode {
	display: inline-block;
	max-width: 100%;
	
	.mediaBBCodeCaption {
		color: $wcfContentDimmedText;
		display: block;
		margin-top: 5px;
		text-align: center;
		
		@include wcfFontSmall;
	}
}

/* workaround for broken iframes without height on mobile */
iframe.instagram-media {
	min-height: 530px;
}

.mediaBBCode {
	display: inline-block;
	max-width: 100%;
	
	.mediaBBCodeCaption {
		color: $wcfContentDimmedText;
		display: block;
		margin-top: 5px;
		text-align: center;
		
		@include wcfFontSmall;
	}
	
	video {
		max-width: 100%;
	}
}

/* workaround for broken iframes without height on mobile */
iframe.instagram-media {
	min-height: 530px;
}

Add max-size for video elements Firefox needs the specification for video elements, otherwise they are displayed in their original size.
Add max-size for video elements
Firefox needs the specification for video elements, otherwise they are displayed in their original size.
