Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Why doesn't firefox resize my video to correspond with the video frame size?

  • 4 отговора
  • 4 имат този проблем
  • 1 изглед
  • Последен отговор от jimbo40

more options

Hi,

I'm trying to find a way to render a video to both IE(8) and FF(3.6.12) in the same size(dimension) for both video frame and video itself.

I have the latest basic real player installed and using the following code, the video plays in both browsers but only in IE does the video dimension match the frame size.

<object id=RVOCX classid="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="150" height="160">

	<param name="src" value="http://www.mydeo.com/videorequest.asp?XID=8417&CID=158224" />
	<param name="autoplay" value="true" />
	<param name="autostart" value="1" />
	<param name="controls" value="all">
	<param name="console" value="one">

	<!--[if !IE]> type="application/vnd.rn-realmedia" data="ldtermsvid.rm"    <-->

	<object type="application/vnd.rn-realmedia" data="http://www.mydeo.com/videorequest.asp?XID=8417&CID=158224" width="350" height="460">

		<param name="autoplay" value="true" />
		<param name="autostart" value="1" />
		<param name="controls" value="all">
		<param name="console" value="one">
	</object>

	<!--> <![endif]>

</object>


As you will see if you paste this into a text editor, save as .html and render in both browsers, FF renders the file much bigger than IE.

Thanks for any advice. Jim

Hi, I'm trying to find a way to render a video to both IE(8) and FF(3.6.12) in the same size(dimension) for both video frame and video itself. I have the latest basic real player installed and using the following code, the video plays in both browsers but only in IE does the video dimension match the frame size. <pre><nowiki><object id=RVOCX classid="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="150" height="160"> <param name="src" value="http://www.mydeo.com/videorequest.asp?XID=8417&CID=158224" /> <param name="autoplay" value="true" /> <param name="autostart" value="1" /> <param name="controls" value="all"> <param name="console" value="one"> <!--[if !IE]> type="application/vnd.rn-realmedia" data="ldtermsvid.rm" <--> <object type="application/vnd.rn-realmedia" data="http://www.mydeo.com/videorequest.asp?XID=8417&CID=158224" width="350" height="460"> <param name="autoplay" value="true" /> <param name="autostart" value="1" /> <param name="controls" value="all"> <param name="console" value="one"> </object> <!--> <![endif]> </object> </nowiki></pre> As you will see if you paste this into a text editor, save as .html and render in both browsers, FF renders the file much bigger than IE. Thanks for any advice. Jim

Променено на от cor-el

Всички отговори (4)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

more options

That shouldn't be a surprise because you set the dimensions different for Firefox: width="150" height="160" for IE versus width="350" height="460" for Firefox

IE:

<object id=RVOCX classid="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="150" height="160">


Firefox:

<object type="application/vnd.rn-realmedia" data="http://www.mydeo.com/videorequest.asp?XID=8417&CID=158224" width="350" height="460">

Променено на от cor-el

more options

cor-el,

Thanks for the reply.

You'll see that if you try to resize 350 and 460, it makes absolutely no difference to the dimensions of the video itself. If you can imagine an on-stage theatre production being performed with the curtains half-drawn, that is what is happening.

Do you see the problem?

Jim

more options

Okay, the-edmeis, will do. Thanks.