Youtube Videos werden mit Höhe von 600px eingefügt:
in „heli_functions.php“
[code] // VIDEO-grösse optimieren// remove dimensions from oEmbed videos
add_filter( ‚embed_oembed_html‘, ‚tdd_oembed_filter‘, 10, 4 ) ;
function tdd_oembed_filter($html, $url, $attr, $post_ID) {
$return = ‚<div class=“video-container“>‘.$html.'</div>‘;
return $return;
}
/* css – video grösse youtube */
.single .video-container, .single .video-container iframe {height:420px!important;} [/code]