busybeenewmarket Posted July 6, 2009 Share Posted July 6, 2009 Hi. Can I get a page on my website to display a video? I have it in MPEG4 format currently - file size of 115MB so probably needs compressing. What is the maximum size I can upload, and would it be better to convert it to a different format, i.e .avi? Any help appreciated, Thanks Harriet Link to comment Share on other sites More sharing options...
♥ecartz Posted July 6, 2009 Share Posted July 6, 2009 What is the maximum size I can uploadThat would be a host level setting. You would have to check with your host to see if they have any limits on size. For anything over a couple megabytes, you probably want to upload via FTP rather than using PHP. You'll have to change code to make the video display at all, much less in the place that you want. However, the actual display would not require PHP. You could even add a static html page to your site to display the video. Or add the code to one of the PHP pages. MPEG is already a compression format. You could potentially keep it as an MPEG but with more compression (lower picture quality). Depending on the video, it may or may not give better results to switch to a different format, e.g. AVI. You'd pretty much have to try the various conversions and see what worked best (combination of quality and size). Always back up before making changes. Link to comment Share on other sites More sharing options...
busybeenewmarket Posted July 6, 2009 Author Share Posted July 6, 2009 Thanks for your help. For lack of other ideas I uploaded the video earlier to youtube and pasted the html for embedding it into the page I wanted. I can't seem to get this to work. Surely there must be a straightforward way of doing this? Or am I just being a retard? To be honest I am pretty unfamiliar with oscommerce, I used Joomla a while back but this time I'm working on a website set up by someone else! Link to comment Share on other sites More sharing options...
♥ecartz Posted July 6, 2009 Share Posted July 6, 2009 pasted the html for embedding it into the page I wanted. I can't seem to get this to work. Surely there must be a straightforward way of doing this?That sounds like the straightforward way. What's not working? Is it displaying anything? Or does everything look the same as before you added the HTML? When you say "the html for embedding it" do you mean that this is HTML that Google/YouTube provides? Where did you put it? Always back up before making changes. Link to comment Share on other sites More sharing options...
busybeenewmarket Posted July 7, 2009 Author Share Posted July 7, 2009 The code is <object width="560" height="340"><param name="movie" value="http://www.youtube.com/watch?v=qXAjrZozxRA&hl=en&fs=1&rel=0"></param><param'>http://www.youtube.com/watch?v=qXAjrZozxRA&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=qXAjrZozxRA&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object> as given by youtube. I am trying to put it into a section already containing some text which I am editing via CMS. I open the window for editing HTML source code and paste in the above. Click update, then preview and it doesn't show any difference. The text I had originally remains unaltered. Could there be a space issue - i.e. the dimensions are too big for it to fit? Or should the page just extend down to accommodate this extra content? Apologies if I am asking stupid questions, I've been thrown in the deep end on this! Thanks again, Harriet Link to comment Share on other sites More sharing options...
♥ecartz Posted July 7, 2009 Share Posted July 7, 2009 After you update, if you view source, can you see the HTML in the source? If not, then it sounds like your CMS is editing it out. The thing to do in that case is to bypass the CMS and edit a file directly. If it is in the source, I'd have to see it to try to make any more guesses about why it isn't working. Always back up before making changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.