Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Sudarshan Kumar
How to play video in liferay
9 de Janeiro de 2012 04:20
Resposta

Sudarshan Kumar

Ranking: Junior Member

Mensagens: 42

Data de entrada: 12 de Agosto de 2011

Mensagens 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
Jitendra Rajput
RE: How to play video in liferay
9 de Janeiro de 2012 04:29
Resposta

Jitendra Rajput

Ranking: Liferay Master

Mensagens: 709

Data de entrada: 7 de Janeiro de 2011

Mensagens recentes

Here you go

http://www.liferay.com/community/forums/-/message_boards/message/3479449
Sudarshan Kumar
RE: How to play video in liferay
9 de Janeiro de 2012 04:30
Resposta

Sudarshan Kumar

Ranking: Junior Member

Mensagens: 42

Data de entrada: 12 de Agosto de 2011

Mensagens recentes

Thanks Jitendra for ur reply
Juan Gonzalez
RE: How to play video in liferay
9 de Janeiro de 2012 05:05
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1967

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Sudarshan Kumar
RE: How to play video in liferay
9 de Janeiro de 2012 20:41
Resposta

Sudarshan Kumar

Ranking: Junior Member

Mensagens: 42

Data de entrada: 12 de Agosto de 2011

Mensagens 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
Juan Gonzalez
RE: How to play video in liferay
16 de Março de 2012 13:01
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1967

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Yep. If you can't upgrade you would have to implement a solution.
Vilmos Papp
RE: How to play video in liferay
16 de Março de 2012 13:26
Resposta

Vilmos Papp

LIFERAY STAFF

Ranking: Expert

Mensagens: 463

Data de entrada: 21 de Outubro de 2010

Mensagens 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.
Vilmos Papp
RE: How to play video in liferay
16 de Março de 2012 13:27
Resposta

Vilmos Papp

LIFERAY STAFF

Ranking: Expert

Mensagens: 463

Data de entrada: 21 de Outubro de 2010

Mensagens recentes

Of course you can use any other video players, there's no difference from the portal's perspective.
Hemant Kumar Singh
RE: How to play video in liferay
27 de Dezembro de 2012 21:05
Resposta

Hemant Kumar Singh

Ranking: New Member

Mensagens: 8

Data de entrada: 16 de Agosto de 2012

Mensagens 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
Vilmos Papp
RE: How to play video in liferay
17 de Janeiro de 2013 01:37
Resposta

Vilmos Papp

LIFERAY STAFF

Ranking: Expert

Mensagens: 463

Data de entrada: 21 de Outubro de 2010

Mensagens 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
RE: How to play video in liferay
25 de Junho de 2014 10:48
Resposta

Chris Tantalo

Ranking: Junior Member

Mensagens: 33

Data de entrada: 21 de Agosto de 2012

Mensagens recentes

code example please.
Vilmos Papp
RE: How to play video in liferay
26 de Junho de 2014 03:39
Resposta

Vilmos Papp

LIFERAY STAFF

Ranking: Expert

Mensagens: 463

Data de entrada: 21 de Outubro de 2010

Mensagens 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.
Krzysztof Gołębiowski
RE: How to play video in liferay
26 de Junho de 2014 04:05
Resposta

Krzysztof Gołębiowski

Ranking: Expert

Mensagens: 410

Data de entrada: 25 de Junho de 2011

Mensagens 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:

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


Regards,
KG
Pier Paolo Ramon
R: How to play video in liferay
26 de Junho de 2014 04:39
Resposta

Pier Paolo Ramon

Ranking: Junior Member

Mensagens: 68

Data de entrada: 25 de Maio de 2010

Mensagens 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