Dukt Videos (Open Source)

Dukt Videos (formerly Video Player) has been around for a few years now, and we've worked a lot on abstracting Vimeo and YouTube video services into a video manager add-on providing you the same features for both services.

A lot of open source software is being used in our products, and  it's now time to contribute and give back to the community. Today, we're releasing one of the core features of Dukt Videos as open source : the video services abstraction library.

Dukt Videos (Open Source) is a platform agnostic PHP library which let's you communicate the same way with YouTube and Vimeo.

Once connected to a video service, it's easy to retrieve a video with all its metadata such as title, description, thumbnails, etc. You can also list videos for your uploads, favorites, and all of your playlists for YouTube and for Vimeo. Check out the complete list of services methods.

The library relies on Composer for package dependencies, PHPUnit for testing, and various other open source libraries. You can check them out in the composer.json file, we'll be talking about these libraries in future posts.

We haven't reached a final release yet as we're still fixing bugs, moving and renaming things, but most of the features are already implemented, you can already use them and give us your feedback.

Dukt / Videos GitHub repository

Benjamin David — April 10, 2013

#Composer #Dukt Videos #Git #Open Source #PHP #PHPUnit #Silex #Testing

The Glass Bicycle

The Glass Bicycle

Used to dismiss Google Glasses before reading this great piece from Dustin Curtis.

When you're first shown the future, it's hard to see it. If you don't immediately use some imagination to evolve what you're being shown into what it can or will become, you might dismiss it as something frivolous or a mere curiosity.

Benjamin David — April 10, 2013

#Inspiration #Project Management #Technology

Tala Payments (Omnipay), open source, platform agnostic payment processing library

Tala Payments (Omnipay), open source, platform agnostic payment processing library

Adrian Macneil, from Crescendo, is working on a new payment processing library called Tala Payments. His experience with CI-Merchant has led him to build this platform agnostic library. It's still under development, but everything works as expected. It already support more than a dozen payment gateways. We should be adding some for France as well.

Update : Tala Payments is getting closer to its first release and has been renamed to Omnipay.

Benjamin David — February 03, 2013

#E-commerce #Open Source #PHP

Dukt Videos for ExpressionEngine

Yesterday we've released Dukt Videos which lets you manage and publish YouTube and Vimeo videos from your ExpressionEngine website. This add-on has been designed from Video Player and adds new features and enhancements.

New name

Dukt Videos replaces our most popular add-on, Video Player. We wanted to update its identity in order to reflect the changes that we've made and the new things that we are cooking up for this add-on in 2013.

Authentication

Some of the authentication methods we were using have been deprecated. Vimeo was using simple authentication and YouTube was using AuthSub. We've changed all of this and OAuth 2.0 is now being used for both services.

Smarter & Faster Interface

The interface has been redesigned in order to be snappier. Things are loaded in the background only when they are needed and a multi-view mechanism makes switching from one section to another faster than ever.

The visual interface hasn't changed much from Video Player, some simple tweaks, converted css scripts to less and that was it.

One more thing : it's multi-platform

All of the reusable code has been moved to a package called Dukt Videos Universal. The ExpressionEngine add-on specific code represents only 27% of the whole add-on. This means that if we were to port the add-on to another platform, 73% of the code would be already written.

Making Dukt Videos available for another platform was so easy that we decided to do it. Indeed, in took 4 days to port months of work and features to another platform.

The cool thing is that when we add new features to the ExpressionEngine add-on, they are also available for this yet-to-be-revealed CMS add-on. The same goes for debugging, fixing a bug a one platform fixes it on all platforms.

Keep in mind that this remains true for only 73% of the code, and that there still are CMS specific situations to handle, such as how to store data in the database or handle control panel navigation.

Get your hands on it !

Dukt Videos for ExpressionEngine is available for €49, it's a free update for existing Video Player 3 users. We hope you'll have as much fun using it as we had developing it.

Benjamin David — January 12, 2013

#Add-ons #Dukt Videos #ExpressionEngine #Video Player