Jump to content

Recommended Posts

I've posted many webpages with pictures on them and they are pretty easy. Now I want to post a couple iphone videos that I uploaded to my server. These are .MOV files and I have searched quite a bit for recent posts about how this is done. I know nothing about this and some of the stuff I have found is beyond me. Is there a simple way of doing this? And if not, how about the hard way although not too hard. I don't want to do anything complex like using Youtube or other file converters. I would think it would be possible to just take my own videos and upload them and place them on my own web pages.

 

I have tried the following snippets:

 

#1


echo "<video controls='controls' width='300' height='200' name='$name' src='$href'></video>";

And:

#2


echo "<embed src='$href' width='150' height='100' scale='tofit' autoplay='false' controller='true' loop='false'  bgcolor='#C0C0C0' type='video/quicktime' pluginspage='http://www.apple.com/quicktime/download/'>
</embed>";

But neither do anything than display a sized box on my screen. Clicking on them does nothing.

 

The only reference I found on this forum is from 2007, so I discounted that.

 

Any help will be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/302864-adding-a-quicktime-video-to-my-web-page/
Share on other sites

Thanks Benanamen but that is exactly what I don't want to do. Don't want to upload my vids to other sites to view them and in the other choice it doesn't support .mov files. Really looking for the simple approach to uplaode it to MY site and rely on a downloaded plugin(?) that is called by the browser if the client doesn't already have the proper tool. Is that not possible? Kinda like how PDF files work when one clicks on the link.

Ok - I have found this to work.

 


<a><video preload='none' controls='controls' width='300' height='200' name='$file' src='$href' ></video></a>

Have to experiment with other clients to see if something needs to be loaded since my machine has already loaded some things. Buffering too.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.