Insert the video in HTML

How to insert the video in HTML? With the progress bar, button? With the FLV format to write
<object width="416" height="256" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="media/1.swf" name="movie">
<param value="high" name="quality">
<param value="true" name="allowFullScreen">
<param name="wmode" value="Opaque">
<embed width="416" height="256" ShowPositionControls="true" ShowTracker="true" ShowAudioControls="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="media/1.swf"></embed>
</object>

Started by Lester at November 12, 2016 - 8:41 PM

That seems to be some what components can, Dreamweaver.

Posted by Otto at November 23, 2016 - 9:11 PM

Insert the network video simple can be, you want the player with a progress bar, in the Internet to search the player plugin! Quite a lot!

Posted by Abel at November 29, 2016 - 9:57 PM

You can use HTML5
For example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Play / pause the video</title>

</head>
<body bgcolor="#FF99CC">
<div align="center">

<video id="video1" width="420" style="margin-top:25px;margin-bottom:20px" autoplay="autoplay" >
<source src="F:\TDDOWNLOAD\mov_bbb.mp4" type="video/mp4"/>
</video><br/>
<button onclick="playPause()">Play / pause</button>
<button onclick="makeBig()">Big</button>
<button onclick="makeNorma()">In the</button>
<button onclick="makeSmall()">Small</button><br/>
<audio controls="controls" autoplay="autoplay">
<source src="D:\Kugou\ night piano -.Mp3" type="audio/mpeg"/>
</audio>
</div>
<script type="text/javascript">
var myVideo = document.getElementById("video1");
function playPause()
{
if(myVideo.paused)
myVideo.play();
else
myVideo.pause();
}
function makeBig()
{
myVideo.width=560;
}
function makeNorma()
{
myVideo.width=420;
}
function makeSmall()
{
myVideo.width=360;
}
</script>
</body>
</html>

Posted by Shirley at December 11, 2016 - 10:52 PM