Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Unable to view uploaded videos on iOS or Safari
Last Post 05/01/2014 1:55 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Damian
New Member
New Member
Posts:3


--
04/29/2014 6:06 PM
Hello,
We have a number of mp4's uploaded into DMX, and Chrome, IE, FireFox are all able to play the uploaded videos perfectly (using JWPlayer).
We have been unable to get the same videos to play on iOS devices or in Safari. After some investigation, it seems that the files coming from DMX have different headers, and are giving different HTTP codes than static mp4's on the same server.

The DMX file returns a status code 200, while the MP4 returns a 206.
Here are the response headers:

DMX:
Cache-Control: no-cache
Content-Disposition: attachment; filename=bunny.mp4
Content-Length: 5103296
Content-Type: video/mp4
Date: Tue, 29 Apr 2014 15:48:44 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-IIS/8.5
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: language=en-US; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

MP4:
Accept-Ranges: bytes
Content-Length: 1
Content-Range: bytes 63229-63229/5103296
Content-Type: video/mp4
Date: Tue, 29 Apr 2014 15:14:16 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET

How can I get these videos to play in these other environments?
Thanks,
Damian
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/01/2014 1:55 PM
Hi Damian,

The only way I could see to do this is to create a custom download handler for this file type. It can be done without forking the module. You need to have the partial source version, copy the download.aspx page and give it some meaningful name and adjust the code for it. Then, finally, to adjust the record in DMX_Extensions for the mp4 file type to point to this new aspx.

Peter
You are not authorized to post a reply.