We've been having some problems where the automatically generated thumbnail is not suitable for general use. So our administrators log into Ooyala Backlot and select a new preview image. Unfortunately the process for creating a new thumbnail is extremely tedious:

- Delete the original image.
- Delete all the imagecache derivatives.
- View the video page (or a page that has the thumbnail version).
- Run Cron.

This patch makes changes so that a preview image is available on the node edit form. After changing a thumbnail a user can just edit the node and click "Preview/refresh thumbnail" and the new thumbnail will be retrieved. It's also very helpful for referencing videos that already exist in Backlot and don't need to be uploaded.

This patch also adds fallback functionality if the Ooyala Servers are not available, since I wrote this mostly on a plane where I didn't have internet.

Lastly, this set of changes also adds a throbber image, which should be saved as "throbber.gif" in the ooyala module directory.

Comments

quicksketch’s picture

StatusFileSize
new16.74 KB

Slight adjustment to put a clear-block around the field to keep floating from messing with other elements. Now shows the placeholder DIV when editing a node that does not yet have a thumbnail.

heronog’s picture

love it. go ahead

thanks!

quicksketch’s picture

Status: Needs review » Fixed

Committed.

quicksketch’s picture

StatusFileSize
new6.62 KB

Wow, okay I made some pretty bad mistakes in committing this patch. Turns out there was a huge chunk in conflict that that didn't get added. This adds in the missing changes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.