Viddler


The Viddler Spotlight

Subscribe to the Viddler Spotlight (RSS Feed)

Go behind-the-scenes with daily features, announcements, and more!

Merry Christmas: A development gift for you

Posted in Announcements by Robert Sandie on December 25, 2006

Check out some machinima by Michelle of Scrooge 2 and a ghost story, Snow Witch.

Or a Christmas mistake by the 3 little piggies.

Or a Christmas greeting from the Ghiurau family.

Or even that classic Christmas light video to the Trans-Siberian Orchestra

All without leaving the page!

We wrote some shiny new JavaScript to do this. It gives you the ability to bring together multiple videos in one post on your blog, and you can even link to specific moments in a video through HTML (click links above and check out our Learn More section to view examples).

Instructions
If you can put JavaScript in the page, you can do it too…

Embed some javascript into your header:

Code (html)

<script type="text/javascript" src="http://www.viddler.com/js/viddler.js" ></script>

Embed the Flash code (to find on any video hit the plus bar and hit share):

Code (html)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="370" id="viddler2"><param name="movie" value="http://www.viddler.com/player/37b21c63/" /><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><embed src="http://www.viddler.com/player/37b21c63/" quality="high" width="437" height="370" allowScriptAccess="always" name="viddler2"/></object>

Switch the video with Javascript calls:

Code (html)

<a href="javascript:viddlerSwitch(’viddler2′,’michelle’,3,30)">Scrooge 2</a>

NOTE: When copying this from page please replace the apostrophes as they copy weird: Fix is coming soon.

Syntax (with relationship to javascript call above):

  • ‘viddler2′ is unique to the Flash Embed. Please note that the id and name in the Flash embed must correspond with the javascript.
  • ‘michelle’ is the username’s video
  • 3 is the video ID that you can find in the URL
  • 30 is the start time
  • Scrooge 2 is the linkable text that will be displayed.

This is just a glimpse to what we will be offering in our Developer Zone. If you use, be sure to show off your work in the comments below.

Merry Christmas!

4 Comments

RSS feed for comments on this post. TrackBack URI

  1. This post was mentioned in Viddler switcht! at Timo Heuers Weblog...

    December 25, 2006 - 4:10 pm

    […] [via Viddler Blog and Lukasz] […]


  2. upim

    upim says

    December 26, 2006 - 8:16 am

    Nice new feature. I wrote an article about it on my blog: http://heuer.sajonara.de/2006/12/25/viddler-switcht/


  3. This post was mentioned in BrainFuel » Viddler: New Ability to Switch V...

    December 26, 2006 - 6:01 pm

    […] The full instructions on how to do this are on the Viddler Development Blog. I’d highly recommend taking a look, as it offers something nobody else is doing. […]


  4. This post was mentioned in Viddler switcht! at Timo Heuers Weblog...

    April 3, 2007 - 9:37 am

    […] [via Viddler Blog and Lukasz] » Filed under Schnipsel by Timo Heuer at 18:09. back to top […]