Neat new ClutterMozEmbed feature

After some back-and-forth e-mails between some potential users of ClutterMozEmbed and myself, I tonight implemented the ability to have transparent page backgrounds. All that's needed is to call clutter_mozembed_set_transparent (it's default off as I'd hope that cairo is more performant when using 24-bit rendering...) and for your page to not have any opaque frames (the window background will already be transparent).

Unfortunately, I'm terribly unimaginative, so I couldn't think of a decent demo. Here's what I came up with - this is a demo from chromeexperiments.com (ironic), running transparently over the test-actors demo in Clutter. To add to the irony, it's Clutter rendering the 2d surfaces and Mozilla rendering the 3d part :)


Click to play

dl says:

very cool

waldo says:

yay, unicode arrows!

Wan Li says:

Is the head-less branch still need Glib?

Jeff Walden says:

(Hmm, add two and eight?  How about 11, in base 9?  Or what about 0xA?  ;-) )

chrislord.net seems not to be configured with the right MIME type for .ogv files, which unfortunately breaks watching the video in Firefox, which (correctly, per the HTTP RFC) treats the server-sent type as gold.  Care to fix that?  I had to download it locally to view, rather than just clicking through to screen-capture goodness.

Chris Lord says:

@Wan Li: I'm afraid so, though I'd love for someone to work on removing the requirement...

@Jeff Walden: I don't own the machine chrislord.net is hosted on, sorry about that - I'll mention it to those that do though.

Travis Reitter says:

Based on the screenshot, I thought you were going to be saying something like "it's got some animation timing bugs", since the logos look a little mangled. Glad to see it actually works smoothly in the video. :)

Adam says:

it is very helpful content for cheap resume writing

Any comments?