为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.