By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,015 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,015 IT Pros & Developers. It's quick & easy.

Dimensions of embedded video in Internet Explorer?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.