Ready to get started?Download WordPress


Another SoundCloud Quicktag
[resolved] z-index issue with flash object in chrome (1 post)

  1. jnz31
    Posted 2 years ago #


    i had the issue with goolge chrome.
    the problem is, no matter what z-index you define, the flash content is on top, unless you dont provide the wmode param: opaque.

    i added following code to the plugin on line 76
    <param name=\"wmode\" value=\"opaque\"></param>

    so it looks like this

    return "<object height=\"" . esc_attr( $height ) . "\" width=\"" .
    esc_attr( $width ) . "\"><param name=\"wmode\" value=\"opaque\"></param><param name=\"movie\" value=\"http://" .
    esc_attr( $player_host ) . "/player.swf?" . esc_attr( $player_params )
    . "&color=979797\"></param><param name=\"allowscriptaccess\"
    value=\"always\"></param><embed allowscriptaccess=\"always\"
    height=\"" . esc_attr( $height ) . "\" src=\"http://" . esc_attr(
    $player_host ) . "/player.swf?" . esc_attr( $player_params ) . "&color=979797\"
    type=\"application/x-shockwave-flash\" width=\"" . esc_attr( $width )
    . "\"> </embed> </object>";

    and the z-index is just as it should be.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic