Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: video streaming
01-10-2014, 08:22 AM #1
- Join Date
- Apr 2008
- Manila, Philippines
- Thanked 12 Times in 12 Posts
Can someone give me any idea on how to handle these files..
mov, mp4, wmv .. these are all video files.. the problem is..
whenever I click a link..
I would like to stream in on a browser window.. safari.. not download it..
I was told that it was doable in htaccess.. but i dont know where it should be placed..
pretty much noob in this subject..
Hope someone can teach me on how to do this..
Thanks in advance..
01-16-2014, 02:59 PM #2
- Join Date
- Mar 2006
- Splendora, Texas, United States of America
- Thanked 270 Times in 264 Posts
That said, it might be possible to do this with HTTP headers via .htaccess files assuming that Safari can natively playback MP4 files (or has a plug-in that can do it), though I can't tell you for sure since I don't own a Mac and therefore can't test Safari. Put the following code in an .htaccess file within the directory containing the relevant video files:
addType "video/mp4" .mp4 header set content-disposition: inlineFor every complex problem, there is an answer that is clear, simple, and wrong.