473,573 Members | 3,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="playevery frame" value="true">
<param name="cache" value="true">
<param name="controlle r" value="false">
<param name="autoplay" value="true">
<param name="src" value="videos/myvideo.mpg">

<embed src="videos/myvideo.mpg" autoplay="true" controller="fal se"
cache="true" type="applicati on/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 5178
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="playevery frame" value="true">
<param name="cache" value="true">
<param name="controlle r" value="false">
<param name="autoplay" value="true">
<param name="src" value="videos/myvideo.mpg">

<embed src="videos/myvideo.mpg" autoplay="true" controller="fal se"
cache="true" type="applicati on/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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2059
by: John | last post by:
I am rotating images of different dimensions. My problem is that when a new image is displayed in a new position which had an image of a different dimension, the old image is first stretched to the dimension of the new image, before the new image is loaded. How can I stop this stretching behavior? See the banner images on the right at...
5
2276
by: Sean Berry | last post by:
I have a news video that I am sending out for a client. There are embedded links to flash movies in the email. I want the popup to be a set size (400 x 400). I am currently using the following code, but the popup window is not 400 x 400, it is whatever the browser size was last time it was opened. How can I set the absolute size from...
0
1151
by: jjs | last post by:
We have a video camera connected to a video card and to a RS232 port for moving the camera. We want to transfer the video stream and control the position on a LAN (Ethernet - TCP/IP). On the client side the tests and displaying should be done in two ways : with Internet Explorer in a View Are you knowing samples for such applications (C++,...
0
983
by: mookid | last post by:
Hello group, This might be a little OT, but there's so much more activity in this group than in microsoft.public.dotnet.framework.interop... so be warned :o) I have made a simple toolbar plugin for Internet Explorer. I would like to be able to show a drop-down-type of window, similar to Internet Explorer's security warnings.
4
4544
by: =?Utf-8?B?QUcxNTYy?= | last post by:
I am using Internet Explorer 7 and if I try to view a video (YouTube or similar) I get a messgage saying that I have either an outdated version of Macromedia Flask or Java is turned off. Java is turned on and even after I have been through the process of downloading the latest version of Macromedia i still get the same message. Any help...
1
1455
TheMadMidget
by: TheMadMidget | last post by:
If I have an .avi file is it possible for php, anything else too but hopefully php, to read the dimensions of the video file. In case anyone is wondering why, I'm trying to embed them using DivX web player with a standard width of 640, but this needs both dimensions, doesn't auto adjust. I know how to read the dimensions of the file when it's on...
2
1523
by: malicula | last post by:
I copy and pasted the YouTube embedded code to my web page and I can't view the video in Internet Explorer. I can view it with FireFox and Safari but not with IE (I tested it on several PCs and it's the same thing). any ideas? thanks a lot, Malicula
6
5688
by: xhunter | last post by:
I have this problem on my website and no matter what I have not been able to get over it, it is really getting on my nervers. it's a problem that only exists in non IE browsers. the frame work of my website is php and lets say here is how the player is shown with very simple syntaxes: <OBJECT id="VIDEO" width="'.$x.'"...
0
7741
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7660
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7729
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5252
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3692
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1254
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
984
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.