WordPress.org

Ready to get started?Download WordPress

Forums

Hana Flv Player
[resolved] initial player size in responcive theme issue (3 posts)

  1. deepbevel
    Member
    Posted 1 year ago #

    I can't seem to effect a change in the player size, default or per instance with the shortcode, width or height. I've tried with both players, although I can only use the one that works without flash.

    I'm using a responcive theme (twenty twelve) and the player and video resize with the window size, but the initial player size is too big for my purpose and I can't change it as per instructions.

    Please help!

    thanks

    http://wordpress.org/extend/plugins/hana-flv-player/

  2. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    You are right. Only mediaelement width size is changing when the browser windows is resized which I did not intended. I will check on it.

  3. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    I found it. It was caused by the Twenty Twelve's CSS

    video {
    	max-width: 100%;
    }

    MediaElement detects this and automatically resize the video when the window is resized.

    What you can do is to insert this CSS code in the theme or using the text widget.

    <style>
    video {	max-width: none; }
    </style>

    Note that this was how it was designed to work the way it is , so I won't apply this CSS fix into my plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.