6 Years
Discussion Span
Last Post by lps

That's a lot more easier. Just put them in same folder and have the src link redirect to your video link. Example:

<iframe width="100%" height="300px" src="example_video.mp4"/>

Moreover, if you want some effect, try search and implement the lightbox effect. My recommendation is pirobox.


If I just wan normal ( no need the iframe) just put height and width in front.?
need use Object and embed tag???


Sorry got one more question....i just want to upload a video player. If i wan to watch that video then i will click that. If not, the video won't run....?


If you mean direct embed video, you should probably refer this page. It enclosed with some API which you should go through such as autostart etc http://www.tizag.com/htmlT/htmlvideocodes.php
but this require some plugin to play the video. Or a simple code such as

<video width="320" height="240" controls="controls">
  <source src="example_video.mp4" type="video/mp4" />

will do it but it cannot be disable sadly.

Edited by lps: n/a


if i using <object> tag...how to do the coding..?because i saw some code is start from the object tag...


No offence, but you should probably do some research first instead of posting your article here. This look like someone skip their work and ask around for other to do their work. For your information, the correct way of asking question is show us what you done and plenty of us are happy to help you debugging. Ok, back to main topic, please refer here: http://www.w3schools.com/html/html_object.asp

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.