Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Sudarshan Kumar
How to play video in liferay
9. Januar 2012 04:20
Antwort

Sudarshan Kumar

Rang: Junior Member

Nachrichten: 42

Eintrittsdatum: 12. August 2011

Neue Beiträge

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. Januar 2012 04:29
Antwort

Jitendra Rajput

Rang: Liferay Master

Nachrichten: 873

Eintrittsdatum: 7. Januar 2011

Neue Beiträge

Here you go

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

Sudarshan Kumar

Rang: Junior Member

Nachrichten: 42

Eintrittsdatum: 12. August 2011

Neue Beiträge

Thanks Jitendra for ur reply
Juan Gonzalez
RE: How to play video in liferay
9. Januar 2012 05:05
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2947

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Now Liferay supports out of the box video playing (HTML5).

See this: http://www.liferay.com/es/community/wiki/-/wiki/Main/Preview+Generation#section-Preview+Generation-Audio+and+Video+Previews
Sudarshan Kumar
RE: How to play video in liferay
9. Januar 2012 20:41
Antwort

Sudarshan Kumar

Rang: Junior Member

Nachrichten: 42

Eintrittsdatum: 12. August 2011

Neue Beiträge

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. März 2012 13:01
Antwort

Juan Gonzalez

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2947

Eintrittsdatum: 28. Oktober 2008

Neue Beiträge

Yep. If you can't upgrade you would have to implement a solution.
Vilmos Papp
RE: How to play video in liferay
16. März 2012 13:26
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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. März 2012 13:27
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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. Dezember 2012 21:05
Antwort

Hemant Kumar Singh

Rang: New Member

Nachrichten: 8

Eintrittsdatum: 16. August 2012

Neue Beiträge

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. Januar 2013 01:37
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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. Juni 2014 10:48
Antwort

Chris Tantalo

Rang: Junior Member

Nachrichten: 33

Eintrittsdatum: 21. August 2012

Neue Beiträge

code example please.
Vilmos Papp
RE: How to play video in liferay
26. Juni 2014 03:39
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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. Juni 2014 04:05
Antwort

Krzysztof Gołębiowski

Rang: Liferay Master

Nachrichten: 508

Eintrittsdatum: 25. Juni 2011

Neue Beiträge

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. Juni 2014 04:39
Antwort

Pier Paolo Ramon

Rang: Junior Member

Nachrichten: 87

Eintrittsdatum: 25. Mai 2010

Neue Beiträge

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