Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Services > Web Designing and Development

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-08-2006, 04:32 PM
paul's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Norway
Posts: 1,641
Default Embedding video in web pages

You can find most of the FAQ about embedding video on web page through this at cit.ucsf.edu/embedmedia/step1.php#top
__________________

Reply With Quote
  #2 (permalink)  
Old 11-09-2006, 03:47 PM
Moderator
 
Join Date: Sep 2006
Posts: 629
Send a message via MSN to harry
Default

a nice tool used for inserting video into web pages, not to worry for complex code required for embedding video, the tool will do it for you.

Paul, but what you think about code;is it trustworthy. As site have mentioned that " No warranty is implied or extended with respect to its( Embedded HTML Media Generator) accuracy or utility".
Has anyone ever used this tool or something similar to it? How effective it was?
Reply With Quote
  #3 (permalink)  
Old 11-09-2006, 03:53 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

I had a play with this and it looks ok Harry,

The Flash button produces code that is almost identical to the 'publish' button in Flash itself. It uses both and which is good cross-browser stuff and security certainly isn't a problem - this is just a timesaver - you'd probably write the same code yourself.

My one criticism would be that it does go overboard on parameters - you could probably cut a load of these out and still have the code you wanted.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #4 (permalink)  
Old 11-09-2006, 03:58 PM
sanderson's Avatar
Moderator
 
Join Date: Oct 2006
Location: Durham
Posts: 261
Default

After looking at the site, it doesn't seem to be fraud. And it's a .edu site of California University, ranking 8 in Google. I didn't like the idea that much as you will need to visit that page again and again to upload any kind of file. And there is no gurantee that you will get to see your videos as they should be. I tried once but then it started asking to download this plugin and all, then I didn't feel to go along with it.
__________________
Linux: because rebooting is for adding new hardware.
Reply With Quote
  #5 (permalink)  
Old 11-09-2006, 04:02 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

I think you've got the wrong end of the stick sandy - you don't use the site to upload a file.

All the page does is generate the HTML tags necessary to embed video in a page. Once it's generated the code you copy and paste that into your Web page and away you go. I guess they developed it because can be a pain in the arse.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #6 (permalink)  
Old 11-09-2006, 04:21 PM
sanderson's Avatar
Moderator
 
Join Date: Oct 2006
Location: Durham
Posts: 261
Default

Ah! you are right kew. I mean to say to generate the code. And you will get many free scripts from the web. So instead of doing it there one can do those same things at his own pc. Right? So there won't be any plugin issues.
__________________
Linux: because rebooting is for adding new hardware.
Reply With Quote
  #7 (permalink)  
Old 11-09-2006, 05:25 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

Well there might be an issue on the client side with plug-ins e.g. if they don't have Flash.

That's just one of the things you can't control with Web design/dev.

Just to recap this service - all you need to do is write your Web page and then if you want to embed a piece of video but can't be arsed to type out the code you can use this site to automagically generate it for you. Just slap the resulting code in your code and you're away.

Obviously you need to know enough HTML to create the page and know where to stick the code but then everybody knows that don't they
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #8 (permalink)  
Old 11-12-2006, 12:19 PM
Moderator
 
Join Date: Sep 2006
Posts: 629
Send a message via MSN to harry
Default

Kev, what you think about the code? can we modify it or can we change its attributes/parameters for changing location of video window or its size or anything....
Reply With Quote
. If you're using a CSS layout (which you should be ) then I'd stick it in it's own
and position that wherever you wanted. There's nothing inside the block which specifies a position on the page.

Just a quick afterthought - I don't think the mark-up above is actually standards compliant for XHTML. I'm pretty sure that the params blocks would have to be closed so it should read for instance. Then again it's a nightmare trying to embed video in a standards compliant way anyway so I probably wouldn't lose any sleep over it.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )

Last edited by kev woodman; 11-12-2006 at 01:17 PM.
Reply With Quote
  #9 (permalink)  
Old 11-12-2006, 01:13 PM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

You can change a few things.

If you have a look at the code some of it you can get rid of straight away - I just did a quick test for a Flash file and the only code you really need is this:
HTML Code:
    OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
        codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'
        width="320" height="240">
<param name='movie' value="http://servername/path/to/media.file">
        <param name='quality' value="high">
        <param name='bgcolor' value='#FFFFFF'>
        <param name='loop' value="true">
       <EMBED src="http://servername/path/to/media.file" quality='high' bgcolor='#FFFFFF' width="320"
        height="240" loop="true" type='application/x-shockwave-flash'
        pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
        </EMBED>
        </OBJECT>
the stuff between the tags.

The other code is HTML table mark-up and as you will want to put this in your own Web page you may as well ditch it straight away.

If you have a look at the rest of the code you have an block which contains an block. These two blocks do basically the same job but for cross-browser compatibility you will need to include both.

You can also see some values such as width="x" and some parameters inside tags. You can change any of these as long as you take care. They are pretty self-explanatory so is you change to "false" then the movie will play once and stop. Changing the height and width probably isn't a good idea because you could change the aspect ratio or the dpi.

As far as positioning goes if you're using a table based layout then just stick the above code inside a table cell using standard ,td>
  #10 (permalink)  
Old 11-14-2006, 04:24 PM
Moderator
 
Join Date: Sep 2006
Posts: 629
Send a message via MSN to harry
Smile

Thanks kev,
So nice of you. I know you will be always there with helping hands....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:12 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum