Fix for embedded youtube video ignoring headerbar's z-index

Locked
User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Fix for embedded youtube video ignoring headerbar's z-index

#1 » Post by Etro » 23 Nov 2014 06:51

in the Etrobian Default theme, the header bar becomes fixed after a certain point when scrolling and embedded Youtube videos sit above it, ignoring its z-index.

Here's the fix. It goes in the HTML replacement:

Code: Select all

<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/{SIMPLETEXT}" wmode="Opaque"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}" /></object>
You basically just add the wmode="Opaque" attribute to the object tag.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Re: Fix for embedded youtube video ignoring headerbar's z-in

#2 » Post by Etro » 23 Nov 2014 08:38

This is about the Youtube BBCode, btw.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Re: Fix for embedded youtube video ignoring headerbar's z-in

#3 » Post by Etro » 24 Nov 2014 23:36

Yo, this is easy to apply.

Sorry for being demanding, in advance.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

User avatar
Nyeriah

Re: Fix for embedded youtube video ignoring headerbar's z-in

#4 » Post by Nyeriah » 25 Nov 2014 03:21

Suggestion: pm Heihachi

User avatar
Heihachi
Developer
Posts: 2641
Joined: 05 Sep 2010 03:01
Location: USA
Contact:

Re: Fix for embedded youtube video ignoring headerbar's z-in

#5 » Post by Heihachi » 25 Nov 2014 04:18

I will apply when I have time currently can't access computer

User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Re: Fix for embedded youtube video ignoring headerbar's z-in

#6 » Post by Etro » 07 Dec 2014 03:16

Yo! Bump!

If Heihachi doesn't have the time, I can give the instructions on how to do it so any admin can implement it.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

User avatar
Heihachi
Developer
Posts: 2641
Joined: 05 Sep 2010 03:01
Location: USA
Contact:

Re: Fix for embedded youtube video ignoring headerbar's z-in

#7 » Post by Heihachi » 07 Dec 2014 06:09

Etro wrote:Yo! Bump!

If Heihachi doesn't have the time, I can give the instructions on how to do it so any admin can implement it.
[youtube]umDr0mPuyQc[/youtube]

Will lock when you confirm its working (since im not using your theme)

User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Re: Fix for embedded youtube video ignoring headerbar's z-in

#8 » Post by Etro » 07 Dec 2014 06:25

I knew it would work and it is =D.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

User avatar
Etro
Honorary Member
Posts: 2558
Joined: 14 Oct 2012 08:24
Location: Behind ccrs

Re: Fix for embedded youtube video ignoring headerbar's z-in

#9 » Post by Etro » 07 Dec 2014 18:40

I forgot to say thanks :P

This is implemented now. You can lock this topic, if you want.
"With life, no matter what you do, you are all in. This is going to kill you. Might as well play the most magnificent game you can while you're waiting, because... Do you have anything better to do? Really?"

Locked

Who is online

Users browsing this forum: No registered users and 1 guest