WordPress.org

Ready to get started?Download WordPress

Forums

PlayPress
Style object id audioplayer1 (3 posts)

  1. Hgna
    Member
    Posted 9 months ago #

    Hi,
    I love this plugin! Just what I needed. But:

    Can I somehow style the player bar - I need to reduce height and width, possibly also color.

    I guess what I need is to add css code to the object tag...or?

    Thanks for any help on this.

    My site is http://www.localnepaltoday.com - playpress is used in two sidebar widgets.

    Regards,
    Hans

    http://wordpress.org/plugins/playpress/

  2. Hgna
    Member
    Posted 9 months ago #

    Hi again,

    I guess you can style in the plugin edit. However, the style of the player is different from one device to another - and I m hoping to have the same appear across ipad, pc, mac etc...

    I m looking at this part of the plugin edit code. I have changed height from 24 to 10 to narrow the player, but it doesn't take effect. It can't be styled via css either it seems.

    $flash_top = '<object id="audioplayer' . $i . '" type="application/x-shockwave-flash" data="' . plugins_url() . '/playpress/player.swf" width="290" height="10">
    <param name="movie" value="' . plugins_url() . '/playpress/player.swf" />
    <param name="FlashVars" value="' . htmlspecialchars($flash_parameters) . '" />

    How might I reduce height of the player and obtain consistent style across devices/browsers?

    Thanks for any help on this.
    Regards,
    Hans

  3. Hgna
    Member
    Posted 9 months ago #

    Hi again,

    Is it possible to use a clickable image as a player instead of the player bar - a simple onclick:play image that I size myself and link to from my media library? Maybe in the plugin code like here:

    $flash_top = '<object id="audioplayer' . $i . '" type="application/x-shockwave-flash" data="' . plugins_url() . '/playpress/player.swf" width="290" height="24">
    <param name="movie" value="' . plugins_url() . '/playpress/player.swf" />
    <param name="FlashVars" value="' . htmlspecialchars($flash_parameters) . '" />

    Or else, how might I reduce the height of the player - and also obtain consistent style across devices/browsers? Style of the player bar varies greatly across devices/browsers.

    Thanks for any help on this.
    Regards,
    Hans

Reply

You must log in to post.

About this Plugin

About this Topic