Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Ricard Cabrera
mp4 files and accept-ranges (Liferay 5.2)
17. Januar 2013 01:55
Antwort

Ricard Cabrera

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 17. Januar 2013

Neue Beiträge

Hi there,

I'm having problems implementing an HTML5 video player for a client that uses Liferay 5.2. Everything works on desktop browsers, I just upload a mp4 file to Content Library and then I reproduce this file in a single page with the video tag. But when the page load in any iOs device, the video doesn't play.

I've been doing some research about it, and my conclusion is that I'm missing an HTML header called accept-ranges: bytes, that iOs devices requiere in order to play the video. I've configured the mime type video/mp4 in portal-ext.properties and it's correct, but still missing accept-ranges.

Is there any way to configure this? I've seen that Liferay 6 have support for this kind of files, but a migration now is not an option.

Thanks in advance, any help will be highly appreciated.
Mika Koivisto
RE: mp4 files and accept-ranges (Liferay 5.2)
21. Januar 2013 12:05
Antwort

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1512

Eintrittsdatum: 7. August 2006

Neue Beiträge

Liferay 5.2 Doclib doesn't support ranges and there's no way to configure it.