Click to See Complete Forum and Search --> : strange behavior of embedded content in safari when scrolling
why1978
08-10-2007, 07:21 AM
I have a problem with embedded content, quicktime and youtube flash content, in a page. My page has a sidebar on the left and mixed content on the right. When I scroll through the content and the embedded content disappears out of view, I get strange behaviour in Safari. The browser is not able to hide the embedded content correctly and it mixes up with my leftbar. I have made two test pages:
w w w .letman.com / testyoutube.html
w w w. letman.com / testquicktime.html
Any solutions?
WebJoel
08-12-2007, 05:04 PM
I checked in Safari and do not see the problem.
I do note:
<div style="z-index:10000000; float:left; width:200px; height:500px; background-color:#00ffff;"></div>
"z-index:value;" is going to require "position:absolute;" to break it out of the document flow, in order for "z-index:foo" to have any effect at all. In short, -okay to remove "z-index:10000000;". It does nothing.
The float:left; makes it be 'left' and the "float:left;" of the next div makes the two be horizontal (left-to-right), and the width & overflow:scroll of the DIV with the embed do their thing...
:confused: Don't see the problem...
why1978
08-13-2007, 08:24 AM
Thanks for your reaction, glad to here that you don't see any problems. Maybe it's because you are using a newer version of Safari. And thanks for the remark about the z-index. I overlooked that, it was still in there because I also tried the same construction with absolute positioned divs.
gdogknight
10-14-2007, 04:25 PM
I have the same problem. Weird scrolling effects with the embedded video. Using drupal. Here is the code I am using:
<embed src="http://www.blockhousecreek.com/files/bhc.wmv" width="320" height="283" autostart="0" showcontrols="1" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"> </embed>
Note: it plays just fine in both IE and Firefox (sorry, don't have safari) but both browsers have the weird behavior when scrolling up and down.
edit by admin: no contact info of any kind permitted on the forum, thank you