473,786 Members | 2,578 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 5187
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
2077
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 http://finialworld.com thank you John
5
2292
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 within this email? Thanks.
0
1165
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++, C# ?) What are the methods to program such projects? Thanks Jack
0
992
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
4571
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 welcomed (I could not find a Group dedicated to IE7)
1
1466
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 my computer, but I change the video file frequently and this would be a lot easier, that's for the...
2
1530
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
5696
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.'" height="'.($y+60).'" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <param...
0
9647
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9496
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10164
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9961
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8989
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5397
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3669
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.