Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sachin maheshwari
Best Approach for storing and streaming videos.
September 17, 2013 12:27 AM
Answer

sachin maheshwari

Rank: Junior Member

Posts: 52

Join Date: December 4, 2010

Recent Posts

Hi,

I am using Liferay6.1.2 EE, i have around 100s of videos in my portal.

what is the best Approach??. should i store them in DML or should i go for separate streaming server.

Can anybody tell me the pros and cones.
Ahmed Hasan
RE: Best Approach for storing and streaming videos.
September 17, 2013 1:28 AM
Answer

Ahmed Hasan

Rank: Expert

Posts: 306

Join Date: April 13, 2007

Recent Posts

Hi Sachin,

You can take either of these approaches based on your requirement and other parameters.

In the first approach, you can store the videos in the "Documents and Media" portlet and play them on the site using a video player like flow player. In this approach, the video will be served directly from your LR server and the performance may not really great.

In the second approach, you can upload these videos to the cloud something similar to Amazon S3 and serve them through a CDN like CloudFront. On the LR side, create structure and template to specify the end-point URL of these videos and eventually run them to the player that is installed on the LR side.

Soon, i will share a blog that covers how to run a video from with in LR.

Yours truly,
Ahamed Hasan
Author, Liferay Portlet Cookbook
sachin maheshwari
RE: Best Approach for storing and streaming videos.
September 17, 2013 9:42 PM
Answer

sachin maheshwari

Rank: Junior Member

Posts: 52

Join Date: December 4, 2010

Recent Posts

Ahmed Hasan:
Hi Sachin,

You can take either of these approaches based on your requirement and other parameters.

In the first approach, you can store the videos in the "Documents and Media" portlet and play them on the site using a video player like flow player. In this approach, the video will be served directly from your LR server and the performance may not really great.

In the second approach, you can upload these videos to the cloud something similar to Amazon S3 and serve them through a CDN like CloudFront. On the LR side, create structure and template to specify the end-point URL of these videos and eventually run them to the player that is installed on the LR side.

Soon, i will share a blog that covers how to run a video from with in LR.

Yours truly,
Ahamed Hasan
Author, Liferay Portlet Cookbook


Thanks a ton Hasan..

I am looking forward for your blog on LR videos.

Also i would really appreciate if you can provide me some references for both approaches.
Juan Gonzalez
RE: Best Approach for storing and streaming videos.
September 17, 2013 11:47 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2794

Join Date: October 28, 2008

Recent Posts

Hi sachin,

Since Liferay 6.1, you can use the video and audio preview .

In 6.2 you should be able to add uploaded videos through CKEditor (similar as images).

This approach has two main advantages from others:

  • You don't have to care about what videos are uploaded. Liferay will convert them to needed format..
  • Videos can be played in 100% of browsers, using HTML5 (current FF, Chrome, IE >=9, Android, IPad, IPhone) and non-HTML5 using Flash player (IE <9).
  • You can make use of seek functions without having to download the whole video.


Hope it helps.