Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | (show all)   Print Thread
Standard User cheshire_man
(knowledge is power) Thu 08-Mar-12 21:04:03
Print Post

How do I embed a video in a web page?


[link to this post]
 
Is there a way (simpler the better) of embedding a video file in a web page?

Flash?

How do I convert from, say, WMV, to Flash?

I'm aware of the bandwidth and file size implications.

Tony
Standard User john2007
(legend) Thu 08-Mar-12 22:13:00
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
An example for flash (swf).

http://commit.me.uk/chav.htm

Plenty of free tools to convert videos to swf.
Standard User cheshire_man
(knowledge is power) Thu 08-Mar-12 22:49:01
Print Post

Re: How do I embed a video in a web page?


[re: john2007] [link to this post]
 
Thanks, that works. As I understand it as there's no player there's no control panel at the bottom to stop/pause etc. And that this is only available with .FLV files.

Any suggestions/enhancements that would give a player-like capability?

Tony


Register (or login) on our website and you will not see this ad.

Standard User john2007
(legend) Thu 08-Mar-12 23:00:45
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
Can't help I'm afraid, it's not something I use. frown
Standard User john2007
(legend) Thu 08-Mar-12 23:09:03
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
This sort of works (at least in my browser).

http://commit.me.uk/chav2.htm

mpeg rather than flv,
Standard User cheshire_man
(knowledge is power) Thu 08-Mar-12 23:25:20
Print Post

Re: How do I embed a video in a web page?


[re: john2007] [link to this post]
 
Got it working now using free Flowplayer. I had a problem that it played sound but no video. I found it discussed on the Flowplayer forum which seems and was put down to FLV converters omit metadata which upsets Flowplayer. I then found FLVMDI (a FLV metadata inserter) which solved the problem.

It requires a JS module and then this HTML
<a href="myvideo.flv" style="display:block;width:425px;height:300px;" id="player"></a>

<script language="JavaScript">
flowplayer("player", "pages/flowplayer.swf")
</script>
And now seems to work just as I want it (famous last words!)

Tony
Standard User SamsonUK
(knowledge is power) Fri 09-Mar-12 10:19:54
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
I would try and stay away from flash. As a format for on-line videos, it's slowly disappearing from use, thankfully.

A better solution that is more future proof is to use HTML5 video, use something like videojs, easy to implement and works on most devices / browsers. It also has a flash player for non HTML5 browsers as well if you use MP4.

The other option, if you are concerned about bandwidth, is just to use a Youtube account and embed it.
Standard User ilh
(fountain of knowledge) Fri 09-Mar-12 11:34:54
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
I like jplayer and have used it on a couple of sites. It only works with certain file formats (like .mov - the site lists which ones) but it is very customisable and easy to set up.

~ilh

The sooner you get behind, the longer you have to catch up.
Standard User alext05
(member) Sat 10-Mar-12 13:05:28
Print Post

Re: How do I embed a video in a web page?


[re: cheshire_man] [link to this post]
 
I believe most people would simply upload a video to YouTube and grab the embed code from there. No worries about the file size or bandwidth.
Standard User markjeff
(newbie) Thu 19-Apr-12 06:35:56
Print Post

Re: How do I embed a video in a web page? *DELETED*


[re: cheshire_man] [link to this post]
 
Post deleted by MrSaffron
Pages in this thread: 1 | 2 | (show all)   Print Thread

Jump to