Fórum

How to get path to DL file?

thumbnail
Vitaliy Koshelenko, modificado 11 Anos atrás.

How to get path to DL file?

Expert Postagens: 318 Data de Entrada: 25/03/11 Postagens Recentes
Hi, all.

I need to upload video in Liferay and play it in jwPlayer. I'm using DLFileEntryLocalServiceUtil in order to save file to document library, and I get DLFileEntry instance after saving it. How can I get the URL to the video file from this object? (but not the download URL, as it doesn't work in jwPlayer).

Regards, Vitaliy
thumbnail
Juan Gonzalez P, modificado 11 Anos atrás.

RE: How to get path to DL file?

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
You've got this feature in Liferay 6.1.
thumbnail
Jack Bakker, modificado 11 Anos atrás.

RE: How to get path to DL file?

Liferay Master Postagens: 978 Data de Entrada: 03/01/10 Postagens Recentes
if u are using v6.0.6, putting the video at youtube and using jquery fancybox works well

see first slide in slideshow on homepage of http://www.heritageresp.com/ (as of 2012-08-09)