Video player width
-
Hiya! Love the MaryAnne theme!
Things have been going smoothly so far but I just ran into a little snag when posting an embedded video. Both with a standard embed and with the [video] shortcode, the width of the displayed player is limited to 590px. This is for a video wider than 590px, and even with a “width” option for the video shortcode. I can only make the video smaller, not larger.
I looked around a bit and found a comment that the PHP global $content_width determines max. size for the core video player, and indeed, in MaryAnnes functions.php:
global $content_width; if ( ! isset( $content_width ) ) { $content_width = 590; }
I guess 590px is the proper max. width when using the right sidebar (which I’m not)?
Is there a clean way to fix this (to get full width video) without editing this in the source?
Thanks!!
- The topic ‘Video player width’ is closed to new replies.