Enabling SWF previews in Asset Bank
Run the following statements against your Asset Bank database:
DELETE FROM FileFormat WHERE Id=400 AND FileExtension=’swf’;
INSERT INTO FileFormat (Id, Name, Description, FileExtension, AssetTypeId, IsIndexable, IsConvertable, IsConversionTarget, ThumbnailFileLocation, ContentType, ViewFileInclude) VALUES (400,'SWF','Adobe Shockwave/Flash','swf',1,0,0,0,'thumbnails/flash_icon.gif','application/x-shockwave-flash','loadDirectlyInBrowser');
Asset Bank should now show icons as the thumbnails for SWF files.
If you want to show a link ‘View Preview’ on the ‘View Asset Details’ page, which when clicked will launch the SWF movie, run the following statement against your Asset Bank database:
UPDATE FileFormat SET CanViewOriginal=1 WHERE Id=400;
If you are running your Asset Bank on Windows, and you want to create thumbnail images for the SWF files in search results, etc. (rather than showing the icon), please read the article on enabling thumbnails for SWF files on Windows
Comments
0 comments
Please sign in to leave a comment.