Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alex Wallace
Storing *.flv file in Document Library then playing it form flash player..
December 17, 2007 4:11 PM
Answer

Alex Wallace

Rank: Liferay Master

Posts: 640

Join Date: November 4, 2007

Recent Posts

Hi there!

We have developed a flash video player which we intend to place in a portlet...

The player would use a .flv file to play the video as expected... It works fine if i place the .fvl file on the file system...

The thing is that I want to place the flv file in the document library so i i can manage permissions to the file...

If i point to the document library url to download the flv file, the player won't play at all...

I can download the document and save it and use it from there, the player plays fine the downloaded file...

How can i use the document library as a direct source of flv files? Or the image gallery? Whatever it is, i want to take advantage of the permissions that these allow me to manage...

Thanks in advance!
JR Houn
RE: Storing *.flv file in Document Library then playing it form flash playe
December 19, 2007 2:09 PM
Answer

JR Houn

LIFERAY STAFF

Rank: Expert

Posts: 488

Join Date: November 19, 2007

Recent Posts

Hey Alex-
It's funny that you ask about this topic specifically. Just a few days ago I was working with a co-worker trying to figure out why we had to download .pdf files instead of directly viewing them in browser. This issue closely resembles:
http://support.liferay.com/browse/LEP-4487
The only way I think it would be possible is by directly modifying the source code - opening an improvement support ticket could go a ways towards getting this into liferay out of the box.
thanks Alex
jr
Bryan Cheung
RE: Storing *.flv file in Document Library then playing it form flash playe
December 19, 2007 11:56 PM
Answer

Bryan Cheung

LIFERAY STAFF

Rank: Expert

Posts: 360

Join Date: August 26, 2004

Recent Posts

This isn't exactly the same case, but we have a client who is using the Document Library to store XSL files. Then in another portlet's configuration, the Doc Lib URL to that XSL file is entered, and the XSL transforms the XML successfully.
Ciprian Crut
RE: Storing *.flv file in Document Library then playing it form flash playe
November 6, 2008 5:35 AM
Answer

Ciprian Crut

Rank: New Member

Posts: 1

Join Date: November 6, 2008

Recent Posts

Hi Alex.

Did you manage to play flv files directly from Document Library using an embedded flv player? I am using liferay 5.1.0 and tried different flv players but without success.

Thanks.
Tony Fernández García
RE: Storing *.flv file in Document Library then playing it form flash playe
November 28, 2008 6:51 AM
Answer

Tony Fernández García

Rank: Junior Member

Posts: 76

Join Date: October 5, 2008

Recent Posts

Hi Alex,

Had you found the solution for that? I am traying to do the same as you.

Regards,

Tony
Tony Fernández García
RE: Storing *.flv file in Document Library then playing it form flash playe
December 3, 2008 7:48 AM
Answer

Tony Fernández García

Rank: Junior Member

Posts: 76

Join Date: October 5, 2008

Recent Posts

Use URLEncoder.encode with the document_library url, to play the video.

Regards,
Tony
Chris Whittle
RE: Storing *.flv file in Document Library then playing it form flash playe
February 6, 2009 8:35 AM
Answer

Chris Whittle

Rank: Expert

Posts: 462

Join Date: September 17, 2008

Recent Posts

How did you implement the URLEncoder.encode ? I'm trying to do this from a Jounal Content template/stucture and FF works great but nothing in IE
Tony Fernández García
RE: Storing *.flv file in Document Library then playing it form flash playe
February 11, 2009 4:03 AM
Answer

Tony Fernández García

Rank: Junior Member

Posts: 76

Join Date: October 5, 2008

Recent Posts

Hi Chris,

I only make URLEncoder.encode(prefs.getValue("video_source","")) call from the view page of my portlet.

Where the "video_source" is tha url of the flv file.

Regards,
Tony