Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Showing 21 - 26 of 26 results.
of 2
Juan Gonzalez
RE: How do I add audio and video in Web Content?
December 13, 2011 2:13 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2297

Join Date: October 28, 2008

Recent Posts

sandeep tripathi:
Hi Adolfo,
i had try using the structure and template given my you but i was not able to it right can u please help it out .
i need to create video gallery like where i can get the video upload from the document library

i had added in my portal -ext following line for supporting various video format
mime.types.content.disposition.inline=flv,pdf,swf,wmv
thanks in advance

Regards,
Sandeep


Liferay 6.1 has a Media Gallery, where you will be able to play videos/audio.

Download latest sources (or nightly build) and check it.
sandeep tripathi
RE: How do I add audio and video in Web Content?
December 15, 2011 2:42 AM
Answer

sandeep tripathi

Rank: Regular Member

Posts: 100

Join Date: October 19, 2011

Recent Posts

HI everyone,

i am trying create a video portlet using structure and template in web content .

i need a help in creating thumbnails of video so that i can show the thumbnail and when sum1 click on thumbnail respective video get loaded i had uploaded video in my document library and retrieving data from there .

the structure and template :

<root>
<dynamic-element name='video' type='document_library' index-type='' repeatable='false'></dynamic-element>
<dynamic-element name='width' type='text' index-type='' repeatable='false'></dynamic-element>
<dynamic-element name='height' type='text' index-type='' repeatable='false'></dynamic-element>
<dynamic-element name='autostart' type='text' index-type='' repeatable='false'></dynamic-element>
</root>

<script type="text/javascript" src="/html/js/flowplayer/flowplayer-3.2.6.min.js"></script>

<p><a href="$video.getData() " style="display:block;width:$width.getData()px;height:$height.getData()px;" id="player"> </a></p>

#if ($video.getData() != '')
<script type ="text/javascript">
flowplayer("player", "/html/js/flowplayer/flowplayer-3.2.7.swf", {
clip: {
autoPlay: $autostart.getData().isEmpty() ? false : $autostart.getData()
},
plugins: {
controls: {
autoHide: 'fullscreen'
}
}
});
</script>
#else
Please select the video from document library in web content edition menu.
#end
thanks in advance
Regards
Sandeep
sandeep tripathi
RE: How do I add audio and video in Web Content?
December 15, 2011 4:20 AM
Answer

sandeep tripathi

Rank: Regular Member

Posts: 100

Join Date: October 19, 2011

Recent Posts

Juan Gonzalez P:
sandeep tripathi:
Hi Adolfo,
i had try using the structure and template given my you but i was not able to it right can u please help it out .
i need to create video gallery like where i can get the video upload from the document library

i had added in my portal -ext following line for supporting various video format
mime.types.content.disposition.inline=flv,pdf,swf,wmv
thanks in advance

Regards,
Sandeep


Liferay 6.1 has a Media Gallery, where you will be able to play videos/audio.

Download latest sources (or nightly build) and check it.


hi Juan Gonzalez,

i had finally download the liferay 6.1 version from the site should i need to upgrade my liferay from 6.0.5 to 6.1 to run the code . should i create a hook for document library .



thanks in advance .

Regards
Sandeep
Juan Gonzalez
RE: How do I add audio and video in Web Content?
December 15, 2011 7:16 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2297

Join Date: October 28, 2008

Recent Posts

sandeep tripathi:
Juan Gonzalez P:
sandeep tripathi:
Hi Adolfo,
i had try using the structure and template given my you but i was not able to it right can u please help it out .
i need to create video gallery like where i can get the video upload from the document library

i had added in my portal -ext following line for supporting various video format
mime.types.content.disposition.inline=flv,pdf,swf,wmv
thanks in advance

Regards,
Sandeep


Liferay 6.1 has a Media Gallery, where you will be able to play videos/audio.

Download latest sources (or nightly build) and check it.


hi Juan Gonzalez,

i had finally download the liferay 6.1 version from the site should i need to upgrade my liferay from 6.0.5 to 6.1 to run the code . should i create a hook for document library .



thanks in advance .

Regards
Sandeep


No, no need to install any plugin. You would only have to install Xuggler, enable it in portal-ext.properties or in Control Panel ->Portal config. Then add some environment variables before starting your server and you will get that.

More info: http://www.liferay.com/es/community/wiki/-/wiki/Main/Preview+Generation#section-Preview+Generation-Audio+and+Video+Previews
Alba García
RE: How do I add audio and video in Web Content?
February 26, 2012 11:49 AM
Answer

Alba García

Rank: Junior Member

Posts: 49

Join Date: February 10, 2011

Recent Posts

¿Podrias poner un ejemplo?

Yo necesito crear una estructura que tenga los siguientes campos:
  1. Titulo
  2. Resumen
  3. Documento (¿document_library?)
  4. Fecha de resolución del documento
  5. Feha de publicación del documento


para crear un tipo de contenido (Anuncio)

Y luego no se si voy a necesitar una plantilla para visualizar los distintos anuncios.
Además tengo una duda, ¿Debería usar un Web Content Display para Visualizarlos o un Asset Publisher? Es que me gustaría tener un paginador para cuando haya mas de 4 anuncios por ejemplo.


Un saludo y gracias!!
Gabriel Leon Leyva
RE: How do I add audio and video in Web Content?
June 14, 2012 8:39 AM
Answer

Gabriel Leon Leyva

Rank: Regular Member

Posts: 243

Join Date: June 20, 2009

Recent Posts

Adolfo what are the steps to integrate JWPlay in the web content.


Thanks in advance
Showing 21 - 26 of 26 results.
of 2