Contact Me


Recent Posts


Categories


Archives


Tags

3d actionscript Actionscript 2 Actionscript 3 api APIs as2 as3 brand caching carousel channel code compress contest contract CSS Flash flv fp10 free freelance gadget gadgets gdata google JavaScript jquery mvc papervision papervision3d PHP player playlist puremvc pv3d search tube tutorial twitter video widget XML you youtube

Recent Comments

  • Ahmed: Can you put up an example?
  • Ahmed: Hmmm sorry this is a tough one but I don’t work with ASP.NET! Sorry!
  • Michael: Good example but one question… in all the slider skinning I see with Flex the thumb overruns the left...
  • venkata: Hi I am using OAuth to connect to youtube api. I got accessToken and TokenSecret for a particular user. Now...
  • Ahmed: Good old flexlib, what component are you using?

Links


Help end world hunger

Posts Tagged “papervision”

Say Hello To The Avatar Interactive Trailer

Wednesday, February 3rd, 2010

A while back I took part in a project with The PPC to build a ‘different’ microsite for the (then) new film Avatar. I don’t know what happened to this project, I spent a good while optimising and refactoring to get it running really smoothly but then I got paid and I didn’t hear anything else. It seems that it may not have gone out in time, which is a really shame cos it’s awesome! Anyway, have a look, tell me what you think.

Using The YouTube Player In 3D

Tuesday, September 8th, 2009

Yep, I’ve cracked it. Well, sort of.

You see, I’ve written a few posts about trying to get the YouTube player and interactivity to behave with Papervision3D. The issue was that Papervision3D (and other 3D engines) render the planes/materials/objects as bitmaps and you can’t render the YouTube player as a bitmap.
(more…)

Papervision3D And The YouTube Player: Just Hack It

Friday, August 28th, 2009

So after much attempts it seems the best way to get the YouTube player to play nicely with Papervision3D (and the other way too) is just to fake it!!

I basically create a “fake player” and use that in the plane, and then when the user has clicked on the plane, I overlay the player on top. I can’t wait for native 3D on FP10 to become more wide spread!
(more…)

Messing With Papervision3D and Material/Plane Interactivity

Wednesday, August 26th, 2009

Update: I’ve hacked PV3D to get it to work with YouTube.

Right, after much browsing through the Papervision3D code, I’ve found out something very interesting: Papervision3D renders hit test, on every frame, on objects that request the mouse, that means those with event listeners.

So, going back to my original issue of getting the YouTube player to function with Papervision3D, I created some tests to see exactly what Papervision3D was doing, and how I could maybe adjust the code so it can work for me.
(more…)

Papervision3D MovieMaterial: To Hack Or Not To Hack?

Friday, August 21st, 2009

Another update: I’ve hacked PV3D to get it to work with YouTube.

Update: I’ve had a play with PV3D and this is what I found out.

Recently I’ve been helping an agency with the YouTube Player API and Papervision3D. They’re after placing a YouTube player on a plane and it being interactive.

The main problem seems to be that:

  1. In order to add an object on to a plane it needs to be a material
  2. When an object is converted into a material, whether it’s a “MovieMaterial()” or not, it subclasses the “BitmapMaterial()” class, thus making it un-interactive (as essentially it’s a flattened bitmap)

    So what to do…
    (more…)

More tutorials

Tuesday, June 16th, 2009

I’ve been meaning to write a quick tutorial on how to create a simple carousel style gadget. I’ve been putting this off for a while as I haven’t had time, but I thought that I may as well just get on with it and knock one out! Also, lots of people have been searching for code on my site regarding the creation of YouTube gadgets, especially the ‘coverflow’ style one.

At the moment, I’ve got a deal going with the authors of Flashtuts+ whereby I write articles and tutorials for them. It’s good as it gets more coverage than just putting them here and it means that I get lots of exposure too.

I’ve currently had two published, Understanding the PureMVC Open Source Framework and Using the YouTube Player API with ActionScript 3.0 and a third one should be published soon on creating a simple YouTube Search and Play gadget.

When it comes to expanding on the tutorials, errata and updates, I’ll always publish them here. I’ll also be putting up snippets of code and just little tips here and there.

And of course, any code that I do that’s useful but it’s big enough for a tutorial, I’ll stick it up on here!

So bare with me, there’ll be lots of content coming up very very shortly!

Another Take on the YouTube 3D Carousel

Sunday, May 17th, 2009

I wrote a post about a new gadget I created for YouTube Brand Channels. This gadget went down really well with the guys at YouTube and has been pushed to a channel for my friend Laurnce Mills.

However my colleague at work at work mentioned that it may look quite cool if instead of having the thumbnails in a “coverflow” style, have them coming from the back and going towards the user. So I created another gadget and published it here.
(more…)

YouTube 3D Carousel

Monday, May 11th, 2009

Recently while working at Google I’ve been asked to built some YouTube products, essentially brand channel gadgets built on the Google Gadgets API. YouTube has two main gadgets that they sell:

  • YouTube Full-width Carousel
    This is a simple carousel that allows the user to shuffle through some YouTube videos. It can work with both the GData API (so playlists, search and so on) and the YouTube Contest API (it’s a “closed” format at the moment, so information is only available on a “need to know” basis). It’s not the prettiest thing and there are a few things I don’t really like about it. But it works and that’s the main thing. You can see an example on the YouTube Live Channel.
  • YouTube Full-width and Normal-width Contest
    YouTube contests are a great way to engage the YouTube and web community. They provide a simple interface and API that allows you to register votes and views for certain videos. Good examples of this are the Davos Debates, Sprite’s Green Eyed World (although the developers missed a tricked and used Facebook comments rather than YouTube’s). You’ll notice that both the contest examples have custom gadgets rather than YouTube’s product. A good use of YouTube’s contest gadget would be the recent Barclaycard Create compeition. It’s a nice format, but again, the aesthetics of the template let it down and a lot can be done to improve and make it look and work much better.

(more…)

Fork me on GitHub