Problems with drop down menus over playing HTML5 video

寵の児 提交于 2019-12-11 10:19:12

问题


I'm having some issues getting a drop down menu (jQuery) to work on top of playing HTML 5 video. When the video hasn't started playing yet, like when one first loads the page, it's fine. However, once the video starts playing, and even after it gets paused, the drop down menus above the video start getting jumbled in Safari, and in Chrome, the text isn't there at all. In Firefox, the text displays as it should over playing video.

The code for the header is in a php file above an iframe, which is playing the video. So the header extends down through the iframe, while staying on top.

Here are some screenshots to see what I'm talking about (Stack Overflow wouldn't let me post the images directly but here are the links):

FIREFOX

http://oi41.tinypic.com/qpm16a.jpg

If you need to see the code, here's a link to the page where you can view the source:

http://filmlook.com/e_website/

(I couldn't post more links or images because of noob status, but you can check the site out for yourself to see what the problem is.)

Obviously, I'd like to keep the code mostly intact, but if there's another menu system I could use that could work better or any other options, I'll hear everything.

Also, I am kind of a noob with code, too, so please try and explain your answers as best you can.

Thanks


回答1:


if i change manually the css property "display: none;" to "display: block"; it even works in chrome with the overlay. i see you are using an effet to show your dropdowns. have you tried it without that?

so just simply change your display and check if that works.



来源:https://stackoverflow.com/questions/9421372/problems-with-drop-down-menus-over-playing-html5-video

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!