runnee Posted July 20, 2009 Share Posted July 20, 2009 Hi guys, I have a project website which is due in 1 week time. I encounter this problem and I just could not load my video from my online web server. It is an ftp server. Even though i directly went to the file by logging onto the FTP server, I still could not view it but if I download it and save it on my local drive, I am able to view it fine, hence I think there is no problem with the uploading of files. Any way I could fix this issue because I really want the video to play. I have tried youtube embedding and it works fine. I tried a lot of codes from online searchs. Quote Link to comment Share on other sites More sharing options...
haku Posted July 21, 2009 Share Posted July 21, 2009 What is the file format? Quote Link to comment Share on other sites More sharing options...
runnee Posted July 21, 2009 Author Share Posted July 21, 2009 MP4, WMV or MPG. Any way PHP can determine? Quote Link to comment Share on other sites More sharing options...
haku Posted July 21, 2009 Share Posted July 21, 2009 Your best bet is to convert all the videos to one format, and then work with that. Flv (flash video) files are the most compatible between OS/Browsers, so that is probably your best bet. From there you can use swfobject to embed your videos in your page. Quote Link to comment Share on other sites More sharing options...
runnee Posted July 21, 2009 Author Share Posted July 21, 2009 I dont think I am good enough to made a program that can configure the videos automatically after users upload or is there a way that can do this? Talking about this, is there any way I can install Oembed technology in my website? Quote Link to comment Share on other sites More sharing options...
haku Posted July 21, 2009 Share Posted July 21, 2009 Ahh, I didn't realize that it was user generated videos. The best program for this is ffmpeg, but it's hard to implement, and if you are on shared hosting, very few shared hosts will allow you to use it, as it is very resource intensive. Quote Link to comment Share on other sites More sharing options...
runnee Posted July 21, 2009 Author Share Posted July 21, 2009 Sigh. Thanks for your help. I guess I'll just do it with the user uploading the file and then enabling people to download the file in order to view it. Thanks alot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.