Welcome Guest, Not a member yet? Register   Sign In
Different between direct and redirect path
#1

Hi
I have a video file in my project and try to show it in my app android
I use two way for show it
1: show video directly => http://example.com/files/video.mp4
2: show video with redirect (in this way,i have script file that i send file name to it and redirect to video)
<?php
$file_id = $_GET['file_name'];
redirect('http://example.com/files/".$file_id);
?>

And the main issue is :
When i show video directly,download speed is high and there is no problem
But when i use my script for show video,it is very slow

Why?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB