I really do not know what the issue here is with the HTML5 videos here. Really I have a bigger issue with this. I have seen that the videos do not enter in the web folder. The thing is that I will have to put them in the web folder manually here. Also let me tell you that when I put it in the Web Folder and then I play the videos there is no issue there. The video just works without any issue here. Now the issue here is that when I put them out of the root and then try to deliver via the following php script:
Code:
$path=explode('/',$_SERVER['PATH_INFO']);
if (sizeof($path)>1) {
$inf=explode('.',$path[1]);
$id=intval($inf[0]);
$type=$inf[1];
$ctype='';
if ($type=='ogv') {
$ctype='video/ogg';
} elseif ($type=='mp4') {
$ctype='video/mp4';
}
$fname=sprintf('/var/www/vidlern.com/videos/test.%s',$type);
http_send_content_disposition(sprintf('video%d.%s',$id,$type), false);
http_send_content_type($ctype);
http_throttle(0.1);
http_send_file($fname);
}
I have seen that the latest Opera 11 just cannot see the length of the video there. Any think like this happened before and that too with the older version of the Opera here.
Bookmarks