Jump to content

CSS Z-index with flash?


NewcastleFan

Recommended Posts

Hey Guys.

 

I'm working on a tumblr theme at current and they have what is called a audio post, which ad's a flash movie that plays a sound.

 

I'm having trouble as I've got a fixed header that the posts go under as the user scrolls the page, which works fine with youtube videos.

 

However the audio post is going ontop of my banner/logo.

 

#banner {
width:637px;
height:150px;
margin-left:10px;
background-color:#141414;
background-repeat: no-repeat;
position:fixed;
z-index:1000;
}

.logo {
margin-top:40px;
z-index:1000;
position:fixed;
}

.audio_player {
z-index:-1000;
position:static;
}

 

<span id="audio_player_11436410709">
<div class="audio_player">
<embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/11436410709/tumblr_lt297nLjGa1r4fuce&color=FFFFFF" height="27" width="207" quality="best"></div></span>

 

The embed is dynamically generated by tumblr so there is no way I can change it from embed.

 

Has anyone else had this problem or know a solution? As Z-index seems to be getting ignored :S

 

Link to comment
https://forums.phpfreaks.com/topic/250156-css-z-index-with-flash/
Share on other sites

Hey Guys,

 

I've trying playing around with iframe, however it will not work, if I link from an external file all it displays is: {AudioPlayerBlack} which is the tumblr code to load the flash file. Is there any work around with css to keep this at the bottom of divs?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.