Lifeay 7: playing video files
How to play video files in Liferay Overview This article explains how to play video files on Liferay portal from the Documents & Media, or in a custom fragment/widget. Configuration 1. Go to Server Administration -> External Services: 2. Scroll down to the Xuggler section and click the “Install” button to install the xuggler libraries: 3. Restart Liferay server. 4. Go to Server Administration -> External Services. 5. Make sure Xuggler is installed correctly, and enable it: Verification To verify the video playing feature navigate to Documents & Media, and upload a video file: You should see a message about preview generation: Wait until it’s finished, and that’s it - video can be viewed directly from Documents & Media: Note : you can re-use this functionality in a custom widget/fragment - you need to generate a URL to the DL File Entry, and use it in a ‘video’ tag for playing the video file. Enjoy 😏