<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Video Portlet like YouTube and take video from Document Library Portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=3489819" />
  <subtitle>Video Portlet like YouTube and take video from Document Library Portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=3489819</id>
  <updated>2026-04-05T09:55:01Z</updated>
  <dc:date>2026-04-05T09:55:01Z</dc:date>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7556896" />
    <author>
      <name>Yogesh Agrawal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7556896</id>
    <updated>2011-02-16T10:42:38Z</updated>
    <published>2011-02-16T10:42:38Z</published>
    <summary type="html">Workaround can be&lt;br /&gt;use aui-swf plugin, configure the &amp;#34;flashVars&amp;#34; param.&lt;br /&gt;include flvplayer to be rendered by aui, and the flv file from document library is passed as source to flvplayer.&lt;br /&gt;Webcontent Structure &amp;amp; template is very helpful in this.&lt;br /&gt;&lt;a href="http://alloy.liferay.com/demos.php?demo=swf"&gt;AlloyUI SWF&lt;/a&gt;</summary>
    <dc:creator>Yogesh Agrawal</dc:creator>
    <dc:date>2011-02-16T10:42:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7486862" />
    <author>
      <name>Ahamed Sakir</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7486862</id>
    <updated>2011-02-10T14:00:15Z</updated>
    <published>2011-02-10T14:00:15Z</published>
    <summary type="html">Thanks Manuel de la Peña.It is working fine.&lt;br /&gt;For encoding we can use $escapeTool.url like this &lt;br /&gt;&amp;lt;a  href=&amp;#34;$escapeTool.url($video.getData())&amp;#34; &amp;gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Sakir</summary>
    <dc:creator>Ahamed Sakir</dc:creator>
    <dc:date>2011-02-10T14:00:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5103545" />
    <author>
      <name>Tuomo Kujanpää</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5103545</id>
    <updated>2010-06-17T18:24:01Z</updated>
    <published>2010-06-17T18:24:01Z</published>
    <summary type="html">Hey&lt;br /&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Manuel de la Peña:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;&amp;#39;$video.getData()&amp;#39; refers to a DL link, p.e. &lt;strong&gt;&amp;#34;/c/document_library/get_file?uuid=16b8ef99-0b76-451c-b92d-708da057e068&amp;amp;groupId=10802&amp;#34;&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Encode the Document Library URLs using http://meyerweb.com/eric/tools/dencoder/&lt;br /&gt;&lt;br /&gt;Yours&lt;br /&gt;&lt;br /&gt;Tuomo</summary>
    <dc:creator>Tuomo Kujanpää</dc:creator>
    <dc:date>2010-06-17T18:24:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3839090" />
    <author>
      <name>Manuel de la Peña</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3839090</id>
    <updated>2009-08-20T08:08:16Z</updated>
    <published>2009-08-20T08:08:16Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div class="quote-title"&gt;Michael Poznecki:&lt;/div&gt;&lt;blockquote&gt;You need to go with a FLV player.  Windows media player has too many problems working with all browsers.  FLV players are very easy to use and there are many free samples out there.&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;Hello Jignesh and Michael!&lt;br&gt;&lt;br&gt;I've tried without the classid and there is no result. &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif"&gt;&lt;br&gt;&lt;br&gt;I'm trying now with flv players ('flowplayer' look nice) and i think the problem is when accesing DocumentLibrary. I get success with internet files but no luck with DL files. I've tried local files in a HTML example and got success&lt;br&gt;&lt;br&gt;My VM template's code:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;script type="text/javascript" src="/html/themes/my_theme/javascript/flowplayer-3.1.2.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;p align="center"&amp;gt;
&amp;lt;a href="$video.getData()" style="display:block;width:320px;height:290px" id="player"&amp;gt; &amp;lt;/a&amp;gt;
&amp;lt;/p&amp;gt;
&amp;lt;!-- this will install flowplayer inside previous A- tag. --&amp;gt;
&amp;lt;script&amp;gt;
flowplayer("player", "/html/themes/my_theme/video/flowplayer-3.1.2.swf");
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;I have the scripts and .swf player in those locations, so i think the problem is accesing DL from the player embeded in firefox.&lt;br&gt;&lt;br&gt;'$video.getData()' refers to a DL link, p.e. &lt;strong&gt;"/c/document_library/get_file?uuid=16b8ef99-0b76-451c-b92d-708da057e068&amp;amp;groupId=10802"&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Many thanks for your comments!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Manuel de la Peña</dc:creator>
    <dc:date>2009-08-20T08:08:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3831291" />
    <author>
      <name>Michael Poznecki</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3831291</id>
    <updated>2009-08-19T13:51:49Z</updated>
    <published>2009-08-19T13:51:49Z</published>
    <summary type="html">You need to go with a FLV player.  Windows media player has too many problems working with all browsers.  FLV players are very easy to use and there are many free samples out there.</summary>
    <dc:creator>Michael Poznecki</dc:creator>
    <dc:date>2009-08-19T13:51:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3831086" />
    <author>
      <name>Jignesh Vachhani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3831086</id>
    <updated>2009-08-19T13:32:42Z</updated>
    <published>2009-08-19T13:32:42Z</published>
    <summary type="html">Hi manuel,&lt;br /&gt;&lt;br /&gt;If you remove that classid then it will work for you and also you have to add one more parameter mediafile.&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Jignesh Vachhani</dc:creator>
    <dc:date>2009-08-19T13:32:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3829454" />
    <author>
      <name>Manuel de la Peña</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3829454</id>
    <updated>2009-08-19T10:31:24Z</updated>
    <published>2009-08-19T10:31:24Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello! i'm working in this too.&lt;br&gt;&lt;br&gt;I've achieved it, using Windows Media Player embebbed in web page, but only works in IExplore, not in firefox. &lt;br&gt;&lt;br&gt;I've followed &lt;a href="http://vm-22.liferay.com/web/guest/community/forums?p_p_id=19&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;_19_struts_action=%2Fmessage_boards%2Fview_message&amp;amp;_19_messageId=1326996"&gt;these instructions&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;but the point is that it doesn't work for me in Firefox. &lt;br&gt;&lt;br&gt;This is my HTML code for the Structure-Theme created:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;object id="MMPlayer1" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="238" width="240" align="absmiddle" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"&amp;gt;
&amp;lt;param name="FileName" value="$video.getData()"&amp;gt;
&amp;lt;param name="ShowControls" value="0"&amp;gt;
&amp;lt;param name="ShowStatusBar" value="0"&amp;gt;
&amp;lt;param name="ShowDisplay" value="0"&amp;gt;
&amp;lt;param name="DefaultFrame" value="Slide"&amp;gt;
&amp;lt;param name="PlayCount" value="1"&amp;gt;
&amp;lt;param name="Autostart" value="1"&amp;gt;
&amp;lt;embed src="$video.getData()" width="290" height="320" autostart="1" loop="0" align="absmiddle" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp" showcontrols="1" showdisplay="0" showstatusbar="1"&amp;gt; &amp;lt;/object&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Many thanks!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Manuel de la Peña</dc:creator>
    <dc:date>2009-08-19T10:31:24Z</dc:date>
  </entry>
  <entry>
    <title>Video Portlet like YouTube and take video from Document Library Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3489818" />
    <author>
      <name>Anand Abhyankar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=3489818</id>
    <updated>2009-07-04T06:06:12Z</updated>
    <published>2009-07-04T06:06:12Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;How can I create a video portlet as follows :-&lt;br /&gt;1. Similar to you tube.&lt;br /&gt;2. Should take video files from document library portlet&lt;br /&gt;&lt;br /&gt;Also, is there any converter that will be associated with Liferay to convert the video formats to .swf or .flv on the fly when user uploads videos to the document library portlet?&lt;br /&gt;&lt;br /&gt;Thanks in advance.</summary>
    <dc:creator>Anand Abhyankar</dc:creator>
    <dc:date>2009-07-04T06:06:12Z</dc:date>
  </entry>
</feed>
