為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.