You can't use the <img> tag to display a video file. What you need to do is replace this:
Code:
<img src="<?= ROOT_PATH ?>public/images/temp/banner.jpg" alt="" />
with this:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
width="320" height="400" >
<param name="movie" value="yourvideo.swf">
<param name="quality" value="high">
<param name="play" value="true">
<param name="LOOP" value="false">
<embed src="yourvideo.swf" width="320" height="400" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">
</embed>
</object>
You may need to adjust the properties of your "banner" div to accommodate the video. You can change the dimensions of the video by changing the width and height above. Note that there are two places in which you need to insert your video file name.
Bookmarks