Help - Search - Members - Calendar
Full Version: adding video?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
xxkasperxx
i have a donate page, and want to add i video, is there anyway to do that without uploading to youtube? and if so what is the code?
pandy
Upload it to your own server.
xxkasperxx
here is my video code, the player pops up, but the video wont..

CODE
<video width="320" height="240" controls>
  <source src='videos/[removed per request from xxkasperxx].avi' type='video/avi' />
  <source src='videos/[removed per request from xxkasperxx].mpg' type='video/mpg;' />
  <source src='videos/[removed per request from xxkasperxx].ogg' type='video/ovg; codecs="theora, vorbis"' />
<object id="flowplayer" data="flowplayer-3.2.2.swf" type="application/x-shockwave-flash" width="320" height="240" >
    <param name="movie" value="flowplayer-3.2.2.swf">
    <param name="allowfullscreen" value="true">
    <param name="flashvars" value="config={'clip':{'url':'videos/[removed per request from xxkasperxx].mpg','autoPlay':false}}">
</object>
</video>
Frederiek
That's HTML5 coding. Go see http://diveintohtml5.com/video.html and http://camendesign.com/code/video_for_everybody .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.