-
Is this the correct function to place into the theme’s functions.php
//Changing Mobile Video player size add_filter( 'fv_flowplayer_attributes', 'tweak_fv_flowplayer_attributes', 10, 2 ); function tweak_fv_flowplayer_attributes( $attrs ) { $attrs['class'] .= 'fp-player-mobile'; return $attrs; }
Coupled with this in the theme’s css
.fp-player-mobile { height: 350px !important; max-width: 100% !important; max-height: 350px !important; }
What we are dealing with is trying to force the default size of the player in our mobile application so the black boxes (see attached) don’t show.