[jira] [Commented] (COCOON-2368) Impossible to read MP4 file in Safari (desktop and IOS) with Cocoon 2.1.12

"Modou Dia (Jira)" <[email protected]> Fri, 8 Nov 2019 17:22:00 +0000 (UTC)
Newsgroups gmane.text.xml.cocoon.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/COCOON-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970424#comment-16970424 ] 

Modou Dia commented on COCOON-2368:
-----------------------------------

Sorry, but by "request response flow", I suppose you mean the process followed by a request ?
If it's true, I schematized below flows.

- Case 1: work in Safari ( http://test-v4.pleade.com/test.mp4 )

Web Browser ==> Apache Server (2.4) ==> test.mp4 ==> Apache Server ==> Web Browser

- Case 2: not work in Safari (  http://test-v4.pleade.com/functions/ead/detached/docs/test.mp4 )

Web Browser ==> Apache Server (2.4) ==> AJP Connector ==> Tomcat ==> Cocoon ==> Reader Pipeline ==> test.mp4 ==> Reader Pipeline ==> Cocoon ==> Tomcat ==> AJP Connector ==> Apache Server ==> Web Browser

- Case 3: (same as case 2 but without Apache and AJP) : not work in Safari ( http://test-v4.pleade.com:8205/pleade/functions/ead/detached/docs/test.mp4 )

Web Browser ==> Tomcat ==> Cocoon ==> Reader Pipeline ==> test.mp4 ==> Reader Pipeline ==> Cocoon ==> Tomcat ==> Web Browser

In our sitemap, we call the reader pipeline like this:

		<map:pipeline id="binary-files" type="noncaching">

			<map:match type="regexp" pattern="functions/ead(\d*)/detached/(.*)">
				<map:read src="${pleade.eadeac.fs-files}/{2}"/>
			</map:match>

		</map:pipeline>


Thanks !

> Impossible to read MP4 file in Safari (desktop and IOS) with Cocoon 2.1.12
> --------------------------------------------------------------------------
>
>                 Key: COCOON-2368
>                 URL: https://issues.apache.org/jira/browse/COCOON-2368
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core, Blocks: (Undefined)
>    Affects Versions: 2.1.12
>            Reporter: Modou Dia
>            Priority: Major
>
> Hello,
> I try to load a MP4 File with a Cocoon Reader. It works well in all major browsers except Safari (desktop and IOS).
> Referring to this thread : https://stackoverflow.com/questions/30199261/why-wont-safari-play-file-without-extension-in-video/51901198#51901198, I overloaded the default Reader' by forcing cocoon to add a Byte Range header (and  206 status code) ... It still does not work.
> For being sure to avoid encode problems, I have tried the same mp4 file directly and only with an Apache Server. It is loaded well in Safari and all other browsers.
> Last point, if the reader pipeline is cached or not (or if the browser cache is empty or not) the behaviour is completely different following browser used. In all cases, with Safari it never works.
> Thank you for you helps .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)