• When in fullscreen mode, is there a way to scale the video proportionally? Videos taken with portrait size dimensions scale to fit the screen as oppose to scaling with aspect ration. I realize this is probably a flowplayer issue, but if you could include the parameter, scale="fit" instead of just the odd default, it would be very helpful.

    flowplayer’s parameters for reference:
    https://flowplayer.org/documentation/configuration/clips.html

Viewing 3 replies - 1 through 3 (of 3 total)
  • this problem of the non-implementation of the ?scale? argument in the packaged flowplayeris still not solved, and It’s a shame, especially for 4/3 vids on 16/10 or 16/9 screen :/

    I’ll try to put the official flowplayer (*.swf) instead of the packaged one to see if It takes the argument

    Cheers

    Hello folks.

    I also encountered this bug and would like to share my little hack to it. Please edit videojs-html5-video-player-for-wordpress/video-js-wp.php and locate the part

    } else {
        $autoplay_attribute = "";
        $flow_player_autoplay = ',"autoPlay":false';
      }
    
      $videojs .= <<<_end_

    Edit it to include the extra line I inserted:

    } else {
        $autoplay_attribute = "";
        $flow_player_autoplay = ',"autoPlay":false';
      }
    
      $flow_player_scale = ',"scaling":"fit"';
    
      $videojs .= <<<_end_

    Now edit the part:

    <param name="flashvars" value='config={"playlist":[$flow_player_poster{"url": "$mp4" $flow_player_autoplay $flow_player_preload}]}' />

    to appear like:

    <param name="flashvars" value='config={"playlist":[$flow_player_poster{"url": "$mp4" $flow_player_autoplay $flow_player_preload $flow_player_scale}]}' />

    This allows the video to scale when in full screen. However the poster is not affected and I haven’t found out (yet) how to change the background color (which is white).

    Hope this helps a lot of people!

    Regards,
    Nono

    Oh regarding the background color note. I just added

    <param name="bgcolor" value="#000000" />

    in the <OBJECT> tag of FlowPlayer and it worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] flowplayer video scaling’ is closed to new replies.