469,336 Members | 5,285 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Dimensions of embedded video in Internet Explorer?

Hello,

I have a vcd sized movie file (dimensions 352x288) that I want to embed in
my web page. For this I use the <object> element:

===== BEGIN
<object width="240" height="196">
<param name="loop" value="false">
<param name="playeveryframe" value="true">
<param name="cache" value="true">
<param name="controller" value="false">
<param name="autoplay" value="true">
<param name="src" value="videos/myvideo.mpg">

<embed src="videos/myvideo.mpg" autoplay="true" controller="false"
cache="true" type="application/x-mplayer" playeveryframe="true"
loop="false"/>
</object>
====== END
I want the video to play on the website with dimensions 240x196. In Mozilla
Firefox with the mplayer plugin, this works without problem. However, in
Internet Explorer, the video file keeps playing in 352x288, even when the
dimensions of the <object> element are restricted to 240x196.

What do I have to change in order for the video file to play in 240x196?

Thank you very much for your help!

Kris

Jan 31 '06 #1
1 5058
krimgelas wrote:
Hello,

I have a vcd sized movie file (dimensions 352x288) that I want to embed in
my web page. For this I use the <object> element:

===== BEGIN
<object width="240" height="196">
<param name="loop" value="false">
<param name="playeveryframe" value="true">
<param name="cache" value="true">
<param name="controller" value="false">
<param name="autoplay" value="true">
<param name="src" value="videos/myvideo.mpg">

<embed src="videos/myvideo.mpg" autoplay="true" controller="false"
cache="true" type="application/x-mplayer" playeveryframe="true"
loop="false"/>
</object>
====== END
I want the video to play on the website with dimensions 240x196. In
Mozilla Firefox with the mplayer plugin, this works without problem.
However, in Internet Explorer, the video file keeps playing in 352x288,
even when the dimensions of the <object> element are restricted to
240x196.

What do I have to change in order for the video file to play in 240x196?

Thank you very much for your help!

Kris


Problem solved, simply by adding width and height attributes to <embed>
element.
Feb 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by John | last post: by
5 posts views Thread by Sean Berry | last post: by
reply views Thread by jjs | last post: by
4 posts views Thread by =?Utf-8?B?QUcxNTYy?= | last post: by
TheMadMidget
1 post views Thread by TheMadMidget | last post: by
6 posts views Thread by xhunter | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.