Fórum

How to play video in liferay

thumbnail
Sudarshan Kumar, modificado 12 Anos atrás.

How to play video in liferay

Junior Member Postagens: 42 Data de Entrada: 12/08/11 Postagens Recentes
Hi

Can any one help me on how to play video file in liferay. Is there any video player in liferay


Thanks in advance
Sudarshan
thumbnail
Jitendra Rajput, modificado 12 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
Here you go

http://www.liferay.com/community/forums/-/message_boards/message/3479449
thumbnail
Sudarshan Kumar, modificado 12 Anos atrás.

RE: How to play video in liferay

Junior Member Postagens: 42 Data de Entrada: 12/08/11 Postagens Recentes
Thanks Jitendra for ur reply
thumbnail
Juan Gonzalez P, modificado 12 Anos atrás.

RE: How to play video in liferay

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
thumbnail
Sudarshan Kumar, modificado 12 Anos atrás.

RE: How to play video in liferay

Junior Member Postagens: 42 Data de Entrada: 12/08/11 Postagens Recentes
Hi Juan,

Thanks for your reply. The link which you have send is related to liferay 6.1. I am using liferay 6.0.5.


thanks
Sudarshan
thumbnail
Juan Gonzalez P, modificado 12 Anos atrás.

RE: How to play video in liferay

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Yep. If you can't upgrade you would have to implement a solution.
thumbnail
Vilmos Papp, modificado 12 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 529 Data de Entrada: 21/10/10 Postagens Recentes
You can use a 3rd party video player like this one: Longtail I used it at my former company and worked fine for us.
thumbnail
Vilmos Papp, modificado 12 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 529 Data de Entrada: 21/10/10 Postagens Recentes
Of course you can use any other video players, there's no difference from the portal's perspective.
Hemant Kumar Singh, modificado 11 Anos atrás.

RE: How to play video in liferay

New Member Postagens: 8 Data de Entrada: 16/08/12 Postagens Recentes
Vilmos Papp:
Of course you can use any other video players, there's no difference from the portal's perspective.

Hi Vilmos.........
could u please tell me how you integrated longtail player with your liferay
please rly asap

thanks
thumbnail
Vilmos Papp, modificado 11 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 529 Data de Entrada: 21/10/10 Postagens Recentes
You can simply embed it into a velocity template for example, or create a custom portlet for it in plugins SDK. In my situation the former solution was requested.
Chris Tantalo, modificado 9 Anos atrás.

RE: How to play video in liferay

Junior Member Postagens: 33 Data de Entrada: 21/08/12 Postagens Recentes
code example please.
thumbnail
Vilmos Papp, modificado 9 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 529 Data de Entrada: 21/10/10 Postagens Recentes
Hi,

See this page: http://influxis.com/how-to-embed-the-jw-player/ there are different ways to embed the player, when I used it, I used the swfobject variant.
thumbnail
Krzysztof Gołębiowski, modificado 9 Anos atrás.

RE: How to play video in liferay

Liferay Master Postagens: 549 Data de Entrada: 25/06/11 Postagens Recentes
Hello Everybody,
I used FlowPlayer. It was very simple installation, I just put flowplayer files to the liferay theme, added <script type="text/javascript" src="${themeDisplay.getPathThemeRoot()}/flowplayer/flowplayer-version.min.js"></script> to portal_normal.vm and instructed users to add this snippet to their Web Content when they want to embed video:

<a href="http://link_to_video" id="player"> </a><p></p>
<script>
    /*<![CDATA[*/
      flowplayer("player","/my-theme/flowplayer/flowplayer-version.swf");
    /*]]>*/
  </script>


Regards,
KG
thumbnail
Pier Paolo Ramon, modificado 9 Anos atrás.

R: How to play video in liferay

Junior Member Postagens: 90 Data de Entrada: 25/05/10 Postagens Recentes
You should also use PortalUtil.getStaticResourceURL to ensure that time stamps and minification options are added to the URL. That way not only you'll see the page loading faster but also using a CDN will be much easier. Thanks for sharing the code with us!

Sent from my iPhone with Liferay.com Forums