I am using the video tag to play videos.
I using php files for the playback like this:
The above code is working. After i changed the src url for .php files, it did actually work. Now it plays in moz, ie, chrome with only php files as sources in the video tag.
You will have to echo the path after retrieving it and pass it to the 'src' attribute of the Video Tag of HTML5. Your Current Strategy won't work well, i hope...
For example,
<source src="<?php echo getMp4VideoUrl(); ?>" type='video/mp4'/>
The browser identifies the video content from the header sent to it with the request. Just manipulate the header and keep the PHP extension. It will work perfect