paulrouget / dzslides

DZSlides is a one-file HTML template to build slides in HTML5 and CSS3.
http://paulrouget.com/dzslides
938 stars 255 forks source link

Can't see embedded youtube videos when using Firefox #87

Closed reagle closed 12 years ago

reagle commented 12 years ago

There is an embedded youtube video in the following slide:

http://reagle.org/joseph/2012/mcs/dzslides/embedder.html#../talks/220-race-new-media.html

I can see it in Chrome 18.0.1025.162-r131933 but not Firefox 11.0+build1-0ubuntu4, in the latter it is just a black rectangle with no image or controls. Is this a DZSlides issue, or perhaps I need to configure FF differently?

mstalfoort commented 12 years ago

As far as I can see at the moment, it has to do with the resize (Dz.onresize)

Not really sure what's happening under the hood: but when you comment the transform on the body it should display the YT iframe contents. Even if I delay the transform on the body, let's say for 10 seconds, so I know for sure every asset has downloaded (even the ones used in the iframe) the contents of the iframe go black

You have any idea @paulrouget ?

hsablonniere commented 12 years ago

Hi @reagle,

I'm embarassed with your issue because it's not really DZSlide's fault :-(

It seems that firefox has troubles with flash and a little series of aspects. One of them is CSS3 scale. The very one we use in DZSlides.

If you take a look at those 2 issues you'll have more details and maybe you could provide them your test case :

Precise bug : https://bugzilla.mozilla.org/show_bug.cgi?id=647943 Main bug : https://bugzilla.mozilla.org/show_bug.cgi?id=90268

I know it's far from perfect but if you enable html5 on youtube, your problem will disappear : http://www.youtube.com/html5

I don't really see what DZSlide can do. I don't think we can go back on the auto resize thing, and the only way is to use scale.

Let me know what you think...

paulrouget commented 12 years ago

Can we try to reduce the problem to a much simpler HTML/CSS code? It will be easier to debug firefox side.

hsablonniere commented 12 years ago

You mean having a test case for the firefox bugzilla ?

There's already one with the flash + CSS scale problem in https://bugzilla.mozilla.org/show_bug.cgi?id=647943. It has a dropbox link to http://dl.dropbox.com/u/7462968/buenafuente.html.

hsablonniere commented 12 years ago

@reagle @paulrouget up ?

reagle commented 12 years ago

Sorry, I'm not sure what "up" means?

hsablonniere commented 12 years ago

You reported this issue, I just wanted to have your opinion on what we discussed here...

reagle commented 12 years ago

I don't us FF that often (and will have to use HTML5 if I do), so I don't have an opinion other to note that it was an issue. (That is, I have no idea how to fix it.)

reagle commented 12 years ago

Issue #91: I ask if dzslides could support autoplay of youtube videos via