Re: Sending videos via CakeResponse::file()

2013-09-25 Thread Gaurav Matta
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.w...@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+unsubscr...@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+unsubscr...@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.


Sending videos via CakeResponse::file()

2013-09-24 Thread Tobias Welz
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+unsubscr...@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.


Re: Sending videos via CakeResponse::file()

2013-09-24 Thread Simon Males
You might to provide a working example otherwise it's pretty hard to debug.


On Mon, Sep 23, 2013 at 8:29 PM, Tobias Welz tobias.w...@twx-media.dewrote:

 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+unsubscr...@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.




-- 
Simon Males

-- 
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+unsubscr...@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.