Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vitaliy Koshelenko
How to get path to DL file?
August 9, 2012 10:16 AM
Answer

Vitaliy Koshelenko

Rank: Expert

Posts: 274

Join Date: March 25, 2011

Recent Posts

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?
August 9, 2012 2:17 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2299

Join Date: October 28, 2008

Recent Posts

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

Jack Bakker

Rank: Liferay Master

Posts: 787

Join Date: January 3, 2010

Recent Posts

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)