Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.