PDA

View Full Version : How to embed videos on page with drop down nav?



acreativellc
12-05-2008, 09:43 PM
PROBLEM NOW FIXED! SEE BELOW FOR THE SOLUTION.

1) Script Title: All Levels Navigational Menu (v1.5)

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm

3) Describe problem:

I'm trying to embed videos on a website, such as a video from youtube.com or vimeo.com

I notice the navigation gets glitchy in both IE and Firefox. The navigation cannot drop down over the video area on the page, and when the mouse is over the navigation the videoscreen disappears on that mouseover.

I have tried the video as a php include, and hit the same problem. I have also tried to change the code in the player to "never" for allowing script access, and it does not change things.

For example of what I am testing, see:

http://livebetasite.com/demo/realistvideo.com/index_youtube.php (Youtube embed)

http://livebetasite.com/demo/realistvideo.com/index.php (Vimeo embed)

Any help is much appreciated!

- Brian, A Creative LLC

acreativellc
12-06-2008, 01:32 AM
THE SOLUTION:
So after 6 wonderful hours of trying to fix javascript, it turns out the problem is in how flash interacts with dynamic content.

Solution was adding wmode="transparent" in two places...

<param name="wmode" value="transparent" />
<EMBED src="swf.swf" quality=best bgcolor=#FFFFFF wmode="transparent" WIDTH="550" ...


From:
http://www.sitepoint.com/forums/showthread.php?t=158317

** This seems to have a more full fix & details/explanation (but I'll get to it later if he sees problems on his mac).

http://www.sitepoint.com/forums/showpost.php?p=3164991&postcount=44

Hopefully this helps someone else out there, somewhere!

Best,
Brian