<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi Kai,</div><div><br></div><div>we serve video files by Apache (directly from filesystem).</div><div><br></div><div>You can check this article, but we didn't implement it:</div><div>http://balusc.omnifaces.org/2009/02/fileservlet-supporting-resume-and.html</div><div><br></div><div>Probably the easiest solution is uploading video files to some CDN/streaming service outside of OpenCms.</div><div><br></div><div>S pozdravem / Kind regards<br><br>Filip Kratochvil<br>OpenCms Consultant</div><br><font color="#990099">-----opencms-dev-bounces@opencms.org wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: "'The OpenCms mailing list (opencms-dev@opencms.org)'" <opencms-dev@opencms.org><br>From: "Schliemann, Kai" <k.schliemann@comundus.com><br>Sent by: opencms-dev-bounces@opencms.org<br>Date: 05/11/2018 11:44AM<br>Subject: [opencms-dev] OpenCms 10.0.1 with Tomcat 8 and Apache 2.2: Playback of video files in iMacs, iPads and iPhones not possible (problem with Byte Range Header?)<br><br><div><font face="Courier New,Courier,monospace" size="3">Hi list,<br>we have a problem with playing video (mp4) files on iMacs, iPads and iPhones.<br>We are almost sure, that we could track it down to the issue described in this thread on Stackoverflow: <a href="https://stackoverflow.com/questions/3397241/does-iphone-ipad-safari-require-accept-ranges-header-for-video">https://stackoverflow.com/questions/3397241/does-iphone-ipad-safari-require-accept-ranges-header-for-video</a>.<br><br>Furthermore we could find out, that when calling the video directly through Apache, the correct header is delivered:<br>curl -k -i --head --header "Range: bytes=50-100" <a href="http://mydomain/video.mp4">http://mydomain/video.mp4</a><br>HTTP/1.1 206 Partial Content<br>Date: Wed, 09 May 2018 14:25:39 GMT<br>Server: Apache/2.4.18 (Ubuntu)<br>Last-Modified: Wed, 28 Feb 2018 09:20:30 GMT<br>ETag: "bde8f-56642411f5380"<br>Accept-Ranges: bytes<br>Content-Length: 51<br>Content-Range: bytes 50-100/777871<br>Content-Type: video/mp4<br>Accessing the page directly via Tomcat delivers the wrong header:<br><br>curl -k -i --head --header "Range: bytes=50-100" <a href="http://mydomain:8080/video.mp4">http://mydomain:8080/video.mp4</a><br>HTTP/1.1 200 OK<br>Server: OpenCms/10.0.1<br>Last-Modified: Wed, 28 Feb 2018 09:20:30 GMT<br>Expires: Thu, 10 May 2018 14:30:55 GMT<br>Cache-Control: max-age=86400<br>Content-Type: video/mp4<br>Content-Length: 777871<br>Date: Wed, 09 May 2018 14:30:55 GMT<br>Furthermore we found out, that there is a config option "useAcceptRanges" in Tomcats web.xml. But this is set to "true" by default. Setting this option explicitly did not change the behaviour.<br>In OpenCms' web.xml ist that option not overwritten, which leaves us clueless.<br><br>Does anyone already had this problem and solved it?<br>Any idea is very welcome.<br><br>Best regards<br>Kai<br>__________________________________________<br><br>Kai Schliemann<br>Dipl.-Wirtschaftsingenieur (FH)<br>Senior IT-Berater Softwareentwicklung<br>ISTQB® Certified Tester - Foundation Level<br>comundus GmbH<br>Heerstraße 111, D-71332 Waiblingen<br>Durchwahl  +49 7151 96528-120<br>Zentrale      +49 7151 96528-0<br>Fax             +49 7151 96528-999<br>E-Mail    k.schliemann@comundus.com<<a href="mailto:k.schliemann@comundus.com">mailto:k.schliemann@comundus.com</a>><br>Internet www.comundus.com<<a href="http://www.comundus.com/">http://www.comundus.com/</a>><br><br>Geschäftsführer Thomas Behrend, Siegfried Fitzel,  Klaus Hillemeier<br>Amtsgericht Stuttgart, HRB 264290<br>__________________________________________<br><br>comundus auf:<br><br>[32-facebook]<<a href="https://www.facebook.com/Comundus-GmbH-163398933697079/">https://www.facebook.com/Comundus-GmbH-163398933697079/</a>> [32-twitter] <<a href="http://twitter.com/comundus">http://twitter.com/comundus</a>>  [32-googleplus] <<a href="https://plus.google.com/104173225760825167528/posts">https://plus.google.com/104173225760825167528/posts</a>>  [32-xing] <<a href="https://www.xing.com/companies/comundusgmbh">https://www.xing.com/companies/comundusgmbh</a>>  [32-youtube] <<a href="https://www.youtube.com/channel/UCTTN-c169oHvHDrykuKnMQw">https://www.youtube.com/channel/UCTTN-c169oHvHDrykuKnMQw</a>><br><br><br></font></div><div><font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br><br><br><br></font></div></k.schliemann@comundus.com></div><br><br>[attachment "image001.png" removed by Filip Kratochvil/Ibacz/cz]<br>[attachment "image002.png" removed by Filip Kratochvil/Ibacz/cz]<br>[attachment "image003.png" removed by Filip Kratochvil/Ibacz/cz]<br>[attachment "image004.png" removed by Filip Kratochvil/Ibacz/cz]<br>[attachment "image005.png" removed by Filip Kratochvil/Ibacz/cz]</div><div><br><hr>Disclaimer:<br><br>The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it.<br>It may contain confidential or legally privileged information.<br>If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful.<br>If you have received this communication in error, please notify us immediately by forwarding this email to ict@ibacz.eu and then delete it from your system.<br>IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.<br> </div></font>