Asual

Thursday,
13 Mar 2008

SWFAddress and the YouTube Player API

For few months I've been thinking about the potential that deep linking of video content has to offer. The growing demand for HD video and the increasing capabilities of computer hardware and Internet connectivity will soon bring a variety DVD Chapters-like functionalities online. I've been planning to explore things like cue points, meta data, video searching and indexing but I was always lacking the time until today. With the release of the YouTube Player APIs I decided that it's time to start from somewhere.

As you probably know, YouTube have just released a new set of enhancements that lets you utilize, customize and enhance their video platform. I was mostly intrigued by the Player JavaScript API which allows you to control and monitor the playback of embedded YouTube videos. Make sure you watch the video presentation of the release featuring Geoff Stearns who is actually responsible for the new JavaScript API and chromeless player.

So, today I spent some time trying to integrate SWFAddress with the sample YouTube video and the result is now available online. There were some tricky parts and probably the code can be encapsulated better, but overall I'm satisfied with the result. Every pause action or significant jump in the playback produces a deep link which will definitely make sense for long videos or specific scenarios. If you want to automatically start the video from the second verve just try this deep link. For this case I decided that it will be better to disable the generation of browser history and the SWFAddress strict mode.

The sample is available in the SWFAddress repository and will become a part of the upcoming 2.1 release.

« Previous Post | Next Post »

Comments:

Left by Radoslav Minchev at Mon, 19 Apr 4:15 PM
GR8 :) 10X
Left by Rob McCardle at Mon, 19 Apr 4:15 PM
Excellent work, will be using this shortly. Many thanks :)
Left by Kartec at Mon, 19 Apr 4:15 PM
Great work !
Hope all this is gonna help SEO for Flex.
Left by raj thakkar at Wed, 16 Sep 5:58 AM
Great blog! Thank you so much for sharing this one,like it i really appreciated to them well defined. - Social Network API Integration Services

Projects

Syndication

Blog Search

Blog Categories

Blog posts

Recommended sites