Wednesday, September 25, 2013

Re: Sending videos via CakeResponse::file()

It's better to convert video to flv format before buffering which is universally acceptable.you can use php ffmpeg module to perform the same to convert.check here
http://itfeast.blogspot.in/2013/08/best-flv-conversion-parameters-from.html?m=1

On 24-Sep-2013 10:49 PM, "Tobias Welz" <tobias.welz@twx-media.de> wrote:
Dear group,

I have an issue with sending videos via CakeResponse::file(). I tried several HTML5-players (flowplayer, mediaelementsjs, projekktor), different headers (setting file-type, setting file-size, disabling cache,...) but the problem is always the same. I have multiple players in one page, preloading is disabled.

Here my problems:

- In chrome and in Firefox the video fails to start
- If the video is running, the length is not recognized by the player
- I cannot move to a specific position of the video using the players timeline

If I use a direct link to the video in the filesystem, everything works fine.

Has anybody an idea?


Thanks,
Tobi.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: