Jetpack by WordPress.com
[feature request] Audio shortcode wmode transparent option (3 posts)

  1. Orcsik Antal
    Posted 3 years ago #

    I would like to suggest to make available an option to make the background color of the audio player transparent.

    Right now the player has a default white background, and it can be changed by the shortcode inline parameter bgcolor, but it only accepts opaque colors, and the flash paramtere wmode is also set to opaque.

    My suggestion is to make the default behavior for the player to be transparent, by setting wmode transparent, unless there is an explicite bgcolor set, then set it to opaque.

    Lines to modify for a quick fix:
    128 $bgcolor = '';
    254 <param name='wmode' value='$wmode' />
    And add a line before in around 246:
    $wmode = $bgcolor ? "opaque" : "transparent";

    Hope to see this in a future version!


  2. thebeeobee
    Posted 3 years ago #

    This is an old post, but can you please elaborate on how to make the background color transparent?

    The white background will not work on my current design.

    Thank you so much!

  3. Jeremy Herve
    Jetpack Mechanic
    Plugin Author

    Posted 3 years ago #

    @thebeeobee That's not possible at the moment, unless you edit the plugin files as proposed by Antal.

    I took note of the suggestion though, and we'll consider adding this option to a future version of Jetpack!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic