View Single Post
Old 11-09-2011, 09:52 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by Squirtit View Post
WOW ouch! Thanks for the tip Ray I appreciate that.



The above code seems to do the trick in browsers with the longtail video player.

However on my IPad no video shows, only the "download" graphic appears, and when clicked on, it plays the video.

On my Android phone no video shows, only the "download" graphic appears, and when click on, it downloads the video to the phone without viewing.

So maybe if I adjust the longtail player s etting to be html5 compatible it could fix this problem?

Thanks for your input I really appreciate it
What you can do is use rewrite to call the same file as both mp4 and MP4. So long as you're using rewrite anyway, you can also use it to set the content type. Further, you could add a Content-Disposition header. I'm driving at moment so I can't go through tbe exact code, but that can point you in the right direction.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote