internal hosting or external hostinginternal hosting or external hostinghttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=922171132024-03-28T12:06:58Z2024-03-28T12:06:58ZRE: internal hosting or external hostingJuan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922673762017-07-26T07:01:34Z2017-07-26T07:01:34Z<div class="quote-title">phanikumar manchala:</div><blockquote>Hi Juan Gonzalez,<br />Thanks for the response, <br />so you mean to say, i can upload the video files in document and media folder of liferay, and can play it through Xuggler in an efficient way than from external hosting like youtube ?<br /><br />correct me if i am wrong.</blockquote><br /><br />Well, actually you "don "play through Xuggler". Xuggler just transforms your video so it can be playable and seekable through a web page.<br /><br />If it's more efficient comparing to hosting in youtube, that depends on other factors (storage, permissions, bandwith, proxy..).<br /><br /><div class="quote-title">Olaf Kock:</div><blockquote><br />Ok, I've simplified a bit too much: When I'm on a mobile EDGE connection, I'd prefer the 240p video, which may automatically change to 1080p once I'm on LTE or a wired connection (and vice versa). It's not only the "seek" but also the alternative resolution that I have in mind when I'm referring to external video streaming host. <br /><br />That being said, there's a point for transparently uploading videos from document library to a video streaming host, which can do the re-encoding for various resolutions - this way you keep your own data but utilize the services externally. I'm not aware of re-encoding services and dynamic resolution choices within Liferay (other than the preview generation through xuggler)<br />.</blockquote><br /><br />It's possible to configure the video quality for Liferay video previews. BUT this won't be adaptative depending on device (this is planned to be implemented). So, you will have the same quality for all devices.<br /><br />Another advantage of using Liferay document library would be permission issues, as you control what could be viewed or not, without depending on other external systems that you need to keep in sync.Juan Gonzalez2017-07-26T07:01:34ZRE: internal hosting or external hostingOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922648872017-07-26T06:52:07Z2017-07-26T06:52:07Z<div class="quote-title">Juan Gonzalez:</div><blockquote>...This generated videos will be optimized to be played by any browser...</blockquote><br /><br />Ok, I've simplified a bit too much: When I'm on a mobile EDGE connection, I'd prefer the 240p video, which may automatically change to 1080p once I'm on LTE or a wired connection (and vice versa). It's not only the "seek" but also the alternative resolution that I have in mind when I'm referring to external video streaming host. <br /><br />That being said, there's a point for transparently uploading videos from document library to a video streaming host, which can do the re-encoding for various resolutions - this way you keep your own data but utilize the services externally. I'm not aware of re-encoding services and dynamic resolution choices within Liferay (other than the preview generation through xuggler)Olaf Kock2017-07-26T06:52:07ZRE: internal hosting or external hostingphanikumar manchalahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922652902017-07-26T05:18:28Z2017-07-26T05:18:28ZHi Juan Gonzalez,<br />Thanks for the response, <br />so you mean to say, i can upload the video files in document and media folder of liferay, and can play it through Xuggler in an efficient way than from external hosting like youtube ?<br /><br />correct me if i am wrong.phanikumar manchala2017-07-26T05:18:28ZRE: internal hosting or external hostingphanikumar manchalahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922652832017-07-26T05:15:11Z2017-07-26T05:15:11ZHi Olaf Kock,<br />Thanks for quick response, <br />I am not giving an option of download, i will just give option of playing the video.<br /><br />so can you please suggest which will be efficient way of achieving this task.phanikumar manchala2017-07-26T05:15:11ZRE: internal hosting or external hostingJuan Gonzalezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922402132017-07-25T18:50:28Z2017-07-25T18:50:28ZYou can always enable Xuggler from Control Panel (<a href="https://dev.liferay.com/discover/portal/-/knowledge_base/7-0/publishing-basic-web-content">https://dev.liferay.com/discover/portal/-/knowledge_base/7-0/publishing-basic-web-content</a>. Then, when uploading videos, Liferay will generate an mp4 and ogv files (you can configure this by changing dl.file.entry.preview.video.containers property in portal-ext). This generated videos will be optimized to be played by any browser with efficient seek capability (thanks to the usage of <a href="https://en.wikipedia.org/wiki/Byte_serving">HTTP Partial Content</a> where only the needed video part is sent).<br /><br />You can add this videos in a Web Content or play them within an Asset publisher (with full content enabled).<br /><br />EDIT: Liferay implements HTML5 video player, so these videos can be played by mobile devices too.Juan Gonzalez2017-07-25T18:50:28ZRE: internal hosting or external hostingOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922139852017-07-25T10:43:03Z2017-07-25T10:43:03Z<div class="quote-title">phanikumar manchala:</div><blockquote>I have some 50 videos which are around 200 MB size which i need to play on an internal portal, which is going to be developed on Liferay7</blockquote><br /><br />It depends: Do you want to offer the videos for <em>download</em>, or do you want to <em>stream</em> them on the page: Liferay's Documents and Media provides the files it stores for Download. Any streaming server will keep several versions of the video you offer for the various bandwidths and devices, sometimes dynamically changing the delivered resolution mid-stream. This can be done on an external streaming server or streaming host.Olaf Kock2017-07-25T10:43:03Zinternal hosting or external hostingphanikumar manchalahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922171122017-07-25T10:37:37Z2017-07-25T10:37:37ZHi all,<br />I have some 50 videos which are around 200 MB size which i need to play on an internal portal, which is going to be developed on Liferay7<br />