Foros de discusión

How to play video in liferay

thumbnail
Sudarshan Kumar, modificado hace 12 años.

How to play video in liferay

Junior Member Mensajes: 42 Fecha de incorporación: 12/08/11 Mensajes recientes
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 hace 12 años.

RE: How to play video in liferay

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
Here you go

http://www.liferay.com/community/forums/-/message_boards/message/3479449
thumbnail
Sudarshan Kumar, modificado hace 12 años.

RE: How to play video in liferay

Junior Member Mensajes: 42 Fecha de incorporación: 12/08/11 Mensajes recientes
Thanks Jitendra for ur reply
thumbnail
Juan Gonzalez P, modificado hace 12 años.

RE: How to play video in liferay

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
thumbnail
Sudarshan Kumar, modificado hace 12 años.

RE: How to play video in liferay

Junior Member Mensajes: 42 Fecha de incorporación: 12/08/11 Mensajes recientes
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 hace 12 años.

RE: How to play video in liferay

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Yep. If you can't upgrade you would have to implement a solution.
thumbnail
Vilmos Papp, modificado hace 12 años.

RE: How to play video in liferay

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
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 hace 12 años.

RE: How to play video in liferay

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
Of course you can use any other video players, there's no difference from the portal's perspective.
Hemant Kumar Singh, modificado hace 11 años.

RE: How to play video in liferay

New Member Mensajes: 8 Fecha de incorporación: 16/08/12 Mensajes recientes
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 hace 11 años.

RE: How to play video in liferay

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
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 hace 9 años.

RE: How to play video in liferay

Junior Member Mensajes: 33 Fecha de incorporación: 21/08/12 Mensajes recientes
code example please.
thumbnail
Vilmos Papp, modificado hace 9 años.

RE: How to play video in liferay

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
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 hace 9 años.

RE: How to play video in liferay

Liferay Master Mensajes: 549 Fecha de incorporación: 25/06/11 Mensajes recientes
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 hace 9 años.

R: How to play video in liferay

Junior Member Mensajes: 90 Fecha de incorporación: 25/05/10 Mensajes recientes
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