Viddler Developers’ Blog

PHPViddler, now with examples

There is no better way to learn than to see and do. With this in mind we’ve added some simple examples for using PHPViddler, our PHP wrapper for our API, to the PHPViddler zip file.

So far we’ve added some simple GET and POST examples to help you get started. Using our API to retrieve data from Viddler can now be quickly seen and learned from. Posting data to Viddler to edit a video, authenticate a user, or begin the process of recording a video – are all now laid out as simply as possible.

We’ll be adding more examples as we can and we hope this goes a long way to lesson the learning curve of using our API.

A dead simple video uploader for Viddler in PHP

We’ve received many requests from some of our customers for a dead simple, open source video uploader in PHP. No frills, no progress bar, no Flash – just a simple foundation on which they can develop their own uploaders. Think of this project as the first step in developing a video uploader for your own Web site.

Well, we’ve put together that project and we’re hosting the source on GitHub (for more of our GitHub projects see this blog post). We’ve now added it to our Project Directory (under PHPviddler since it uses that) and we hope that you find it useful to build your uploaders off of.

Need a bit more? Need a progress bar? Don’t mind using Flash? We’ve also got a plugin for PHPViddler called PHPViddlerUploadify that combines PHPViddler with Uploadify – an open source uploader that enables progress bars. Hopefully between the two of these projects you’ll find it very easy to get uploading to Viddler from your site quickly.

Early updates available via GitHub

Viddler maintains a public GitHub account for some of our public repositories. Some of the Viddler team members are also on GitHub: cdevroe, kyleslattery, xtat, drkn, phpfunk, ashrewdmint are all official team member accounts.

If you’d like to follow the development of some of our projects, while they are still in development, you can do so by following those accounts on GitHub. Or, you can wait until they’re packaged and ready via this site.

Javascript functions and callback support in the Viddler player

We’ve made a much needed update to our Viddler Player Javascript Framework page. Essentially this page describes a few of the ways you can control the Viddler players using JavaScript as well as the JavaScript callbacks that the player makes.

One of the more notable updates are getCurrentTime() which will return the timestamp for where the playhead is currently on the player. We’ve had many requests for this function to be added and we feel this is the first step in making it much easier to build complimentary applications to our player. (more updates like this one are coming)

The list of callbacks, once reserved for use only on, have now been opened up for public use. Now developers can listen for events such as tags and comments being added to the timeline as well as when the player is paused and played.

We’re planning some very big updates to our player in 2010 and this is just the beginning. Please take a moment to review the rest of the updates. Happy coding!

How to: Use the Viddler API with CodeIgniter

The Viddler team is using CodeIgniter more and more for our internal PHP projects. Obviously we need to use CodeIgniter with the Viddler API quite a bit so we figured we’d share with you how easy it is to include PHPViddler, the open source PHP API wrapper class for the Viddler API, in your CodeIgniter application.

Here are the steps to follow:

  1. Download the latest copy of PHPViddler.
  2. Extract PHPViddler into system/libraries/phpviddler/ in your CodeIgniter installation.
  3. Load the PHPViddler library (as needed) like this:
    // Load PHP Viddler and setup
    $viddler = $this->php5viddler;
    $viddler->apiKey = 'your_api_key_here';
  4. Use $viddler->function_name() after that.

I’ve just set up a local CodeIgniter installation and had multi-file uploading working within about 30 minutes using PHP Viddler with PHPViddlerUploadify (an extension of both PHPViddler and the JavaScript framework jQuery) for easy file uploading.

We hope that you enjoy using PHPViddler with CodeIgniter as much as we do.

Our Recorder is now a bit smarter

Just recently we added a small tweak to the Recorder, to make it try connecting to our recording facilities over more than just one port and protocol pair.

As of next push, those of you, who are hopelessly firewalled, will be able to record not only using the default port 1935, but also over ports 80 or 443, too. No user action is needed, Recorder does the magic automatically.

Add Viddler to your Drupal powered site

Drupal is a robust content management platform built to make it easy to power everything from a blog to a full community Web site. – And it just got a little bit easier to use your Viddler videos on your Drupal-powered Web sites.

The Viddler Drupal module, which we’ve just added to our Project Directory, makes it easy to record video with your Web cam, upload videos directly to Viddler, and use your video’s metadata throughout the site.

Thanks to the talented people at OmniTechPro for getting this project off the ground. The module is open source, so feel free to use it and make it better!

Viddler WordPress plugin, now official

The Viddler WordPress plugin, or as some like to call it the video commenting plugin, has now been added to the official plugins directory.  We feel all official about it.

What does this mean for you? It means that now you’re able to install the plugin from within your blog’s WordPress admin. It also means that anytime we release an update to the plugin, like we just have with version 1.2.3 which is now available, you will be notified of this update from within the plugin panel in WordPress.

WordPress 2.7 has made it as easy as ever to find, install, and update plugins that will enhance your blog’s features. We hope the Viddler WordPress plugin is one of them.

New article on encoding video for Viddler

As we’re slowly putting together our new developers site we are continously updating the documentation, articles, and projects that are on the site. 

Today we’ve just launched a new article How to: Encode High Quality Video for Viddler. We’ve had this article requested from us several times and we’re happy to finally offer it. Nothing too special in the article itself, really, no rocket science – however it is nice to have an easy to read reference on how to get the best out of your Viddler videos.

If you have any questions or would like to have something appended to the article, or would like to request a new article, please feel free to leave a comment.

Live redesigning Viddler’s Developer site

Watch for falling rocks!  We’re sort of live updating the Viddler’s Developer site.

We’ve got a new template designed by Viddler’s Lead Designer Andrew Smith which will facilitate our needs not only for the Developer site but also for a few other sub-level domains we’ll be launching in the next few weeks.  Andrew provided me with a style guide of sorts and so now I’m put to the task of getting both WordPress and MediaWiki, the two applications we use to pull off this site, to bend to my will.

Everything should work ok, but will look a little wonky while I’m updating. If you have any concerns, let me know.



Keep up-to-date with announcements and updates to the Viddler platform.