Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Vitaliy Koshelenko
How to get path to DL file?
9. August 2012 10:16
Antwort

Vitaliy Koshelenko

Rang: Expert

Nachrichten: 284

Eintrittsdatum: 25. März 2011

Neue Beiträge

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
Juan Gonzalez
RE: How to get path to DL file?
9. August 2012 14:17
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2794

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

You've got this feature in Liferay 6.1.
Jack Bakker
RE: How to get path to DL file?
9. August 2012 20:30
Antwort

Jack Bakker

Rang: Liferay Master

Nachrichten: 840

Eintrittsdatum: 3. Januar 2010

Neue Beiträge

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)