Domanda

Sto avendo alcuni problemi Embedding video in una finestra di jQuery. Esso visualizza e riproduce perfetto ma è sempre di fronte a altre finestre di dialogo. Quando passo un'altra finestra su quella con il video i soggiorni di video in cima a tutto ... Chiunque può aiutare?

È stato utile?

Soluzione

Your issue has nothing to do with jQuery or JavaScript. It has to do with the z-index of a Flash object.

I've used this solution before with success...

http://manisheriar.com/blog/flash_objects_and_z_index

  • Put your Flash content into a wrapper div called flash

  • Add <param name="wmode" value="transparent"> to your object tag

  • Add wmode="transparent" into the embed tag

  • Use CSS to set the position and z-index for your div (don't set negative z-index values as it will hide your Flash)

CSS

#flash {
    position: relative; /*or absolute*/
    z-index: 0;
}

HTML

<div id="flash">
    <object .... >
        <param name="wmode" value="transparent">
        <embed .... wmode="transparent">
    </object>
</div>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top