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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ooyala_refresh_thumbnails_fix.patch | 6.62 KB | quicksketch |
| #1 | ooyala_refresh_thumbnail.patch | 16.74 KB | quicksketch |
| throbber.gif | 2.49 KB | quicksketch | |
| ooyala_refresh_thumbnail.patch | 16.62 KB | quicksketch |
Comments
Comment #1
quicksketchSlight 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.
Comment #2
heronog commentedlove it. go ahead
thanks!
Comment #3
quicksketchCommitted.
Comment #4
quicksketchWow, 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.