Skip to main content

Beta version of new Panda gem

We’ve just released a beta version of the new gem for Panda. The gem has an improved interface for accessing the Panda API and makes it much easier to find the right encodings for embedding.

To find the url of an encoding it’s now as simple as this:

video = Panda::Video.find("1234")
mp4_encoding = video.encodings.find_by_profile_name("h264")
mp4_encoding.url
=> "http://s3.amazonaws.com/my_panda_bucket/4567.mp4"

Read the docs and download the branch from Github and let us know what you think!

Once it’s out of beta we will make this the default version (the old Panda style of using API urls still works) and also update the Rails docs.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.