|
Posted by cwdjrxyz on 01/03/07 06:38
The Starmaker wrote:
> I'm fooling around with html/css
>
>
> How do I get those scrolling bars to disapear?
> I just want the video to be centered in the background image.
> http://pw1.netcom.com/~starmaker/YT/YT6.html
>
>
> Maybe there's a better way...
> If there is a better way then,
> what keywords should I be looking up?
You are linking to a file on the site with the video, and if it ever
fails, so will your video. Actually what you are linking to is a rather
complicated flash construct which is a combination of a .flv
movie(often used by the flash people), and other elements such as
logos. I was able to get the flv movie file from the Opera cache after
playing the movie. The .flv file may be downloaded at
http://www.cwdjr.info/temp/opr00V8T.flv . The movie is a wide screen
format and has no scroll bars. This is not very useful alone for
websites, but you can download a free flv player from
http://www.martijndevisser.com/blog/article/flv-player-updated . It is
possible to convert a flv to many other video formats that are more
useful on websites, such as wmv. I found a program that will do this at
http://www.topvideopro.com/guide/convert_flv.htm . You get a watermark
unless you pay for the program, which I did not. The .wmv is at
http://www.cwdjr.info/temp/opr00V8T.wmv . You may see it embedded on a
plain page at http://www.cwdjr.info/temp/NGmovie.html . I did not try
to add your background. The player is centered on your page. I think
you may have to crop off a bit of the left side of your background
image a PaintShop or the like so that the black box in it is centered
on the page. It may be difficult to get this right when screen widths
are different without using some rather elaborate script to detect
screen width and write corrections for css.
The new WMP 11 has a bug when you use a video that is of smaller width
than you call for in the object code. On all non-IE browsers I have
tested, the width of the video gets stretched to fill the width called
for in the object, but the height does not. The IE6 response is normal.
I don't know if and when Microsoft will correct this. In the meantime
you either should make the width in the object code the same as the
actual widith of the video(320px in this case), or you need to
re-encode the wmv at the larger width you want and likely require for
your background image.
I will leave the mentioned files up a few days, so download any soon
that might be of use to you.
[Back to original message]
|