472,119 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 5131
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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.