YouTube video size
Hello,
I tried to change maximum size of YouTube embed video in functions.php with this code:
add_filter( 'embed_defaults', 'bigger_embed_size' );
function bigger_embed_size()
{
return array( 'width' => 696, 'height' => 315 );
}
but nothing happend, should I put it somewhere else because of BeTheme? Or should I set maximum size of Youtube video differently? I tryed to learn my client to use classic <iframe> from Youtube but he does not want to use it. He just want to put that link into the editor, but have YouTube size maximum of 315px.
Can you help me?
Comments
What you ask for, is file customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio
thanks