In a previous blog I had posted what can only be described as a rather complicated process for enabling Xuggler in Liferay 6.1. The primary problem was Xuggler itself. Since then, Xuggler, had a couple of releases that greatly improved it’s deployability, but it is no longer under active development. At this point and time, to enable video previews in either Liferay 6.2 or 6.1, you’ll need to copy the source and build it yourself according to these instructions. One of the benefits you’ll gain is LGPL licensed jar files, which is quite handy if you need to distribute them or ortherwise incorporate them with proprietary code.

Both Liferay 6.1 and 6.2 ship with Xuggler support ready to go, all you need to do is add your OS native xuggler jar file or the aggregate version. Drop either one into your app server’s global extension library location (lib/ext for tomcat bundles) and restart the Liferay instance. Login as an Admin, go to the Control Panel -> Server Admininstration -> External Services, and you should see a message similar to

Simply click the “Enabled” check box and save and all your videos should now convert to previews and be viewable in system. Note that this make take some time depending on the speed and load of your server and the number, size, and quality of videos you are converting.

Share This