PDA

View Full Version : WMP11 embedded video bug on non-IE browsers


cwdjrxyz
December 17th 06, 09:39 AM
The final release of WMP 11 is now available for download and I took
it. I soon found that several of my embedded videos were highly
stretched across the screen on non-IE browsers. I checked some Mozilla
family NGs, and found that everyone else was having the same problem
and having hissy fits. I did not find a way to cure the problem, but
hopefully Microsoft will correct it. There is a way around it. You must
remake your video at the width you wish to use, or you must change the
the video code so that it has the same width as the actual width of the
wmv video. The bug is causing the video width to stretch to the value
you call for in the code, but it does not stretch the height to keep
the video h x w ratio correct.

The WMP 11 is available only for the Windows XP OS. If you have an
older computer with an earlier version of the WMP, you will have no
problem viewing your own embedded wmv videos, but others who view your
pages on the WMP 11 will on browsers other than IE.

I remade a few of my more important wmv videos to the size I wished
from the original high resolution video files used as input for the wmv
encoder, and that solves the problem. In a few other cases, I changed
the code for the embedded video to call for the same width as the
actual width of the video.

If you have WMP11 and run into a stretched video, there is one thing
you can do. Right click on the video and then select zoom to full
screen. The video will then be of correct proportions, but most videos
on the web will look very bad when zoomed to full screen.

I found that the most recent versions of Firefox, Opera, Mozilla,
Netscape, and Seamonkey all have this bug for the WMP11. I am sure
Microsoft is getting plenty of complaints from users of these browsers,
so hopefully they will produce a cure and release it as a critical
update soon.

In case you just want to sweep this whole mess under the carpet until
Microsoft hopefully corrects it, the WMP11 can be removed at add/remove
programs, according to Microsoft.

If you have the WMP11 and one of the mentioned non-IE browsers, my page
at http://www.cwdjr.info/temp/video_multiBR2.php will show you the
problem. Then view http://www.cwdjr.info/temp/video_multiBR3.php to see
the fix by making the width of the video and the width asked for in the
code the same.You must have javascript turned on.

By the way, the pages are being served as true xhtml 1.1 for browsers
that can handle the correct mime type of application/xhtml+xml as set
on the server. If header exchange indicates the browser may not handle
this true xhtml mime type, a php program on the server converts the
page to html 4.01 strict. No IE browser, including IE7, can handle true
xhtml 1.1 serverd with the proper mime type. If it is served using the
mime type for html, the page will work, but it is not xhtml, but just
xhtml that has been mis-served as html. Thus it is best to serve as
html 4.01 strict, if the browser can not handle true xhtml. I thought I
should explain this, because, if you view the source code on IE, you
will find html 4.01 code. However on recent Opera and Mozilla
family(Firefox,Netscape, Mozilla, Seamonkey) browsers you will see
xhtml 1.1 code.

Google