Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Embedded object is being resized incorrectly (http://forum.bytesforall.com/showthread.php?t=19763)

PawelB Feb 28, 2013 04:31 AM

[SOLVED] Embedded object is being resized incorrectly
 
Hi,

I haven't found any similar thread so, I'm posting this one.
I have encountered problem in displaying embedded flash player. I used html snippet plug-in for embedding following code:

Code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"  width="480" height="360" align="middle">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="movie" value="http://www.gvovideo.com/players/GVOplayer.swf?vkey=fejlLNpzpIP&autoplay=false&noctrl=false&bgcolor=0xffffff&color=0xffffff&wm=false&fitp=true&curl=" />
<param name="quality" value="high" />
<embed src="http://www.gvovideo.com/players/GVOplayer.swf?vkey=fejlLNpzpIP&autoplay=false&noctrl=false&bgcolor=0xffffff&color=0xffffff&wm=false&fitp=true&curl="  width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowFullScreen="true" allowScriptAccess="always" quality="high" align="middle" />
</object>

Firefox and Chrome display only 480x150px part of the video. IE 9 displays it correctly. In Twentyeleven theme the video is displayed correctly by all browsers.
I tried to anlayze the code of the displayed page and found nothing that could limit the size of the embedded video down to 480x150px. The tag <obejct> is reduced down to 480x20px, the tag <embed> i reduced down to 480x150px.
I used hana player for thid video and everything is ok, but still, I'd like to use the code above as it is native player of my video hosting.

juggledad Feb 28, 2013 04:37 AM

what version of WP
what is the url?

PawelB Feb 28, 2013 04:50 AM

Wordpress Version 3.5 Polish
The url: http://pawelbyczuk.pl/test/

juggledad Feb 28, 2013 06:35 AM

use the FireBug extension of FireFox to look at the object. Check each of the elements in the <object> and try shutting off the CSS options one at a time and see if you can find the one effecting this.

It only took me about 3 minutes to determine what is causng it.

PawelB Feb 28, 2013 07:18 AM

Ok. I will try once again. I tried do so using Chrome developers tools.
You've impressed me by finding the solution so quick. It's a pity that you haven't shared that :P

PawelB Feb 28, 2013 07:47 AM

Well, got it. It was the first thing I was looking at even before using developers tools.

juggledad Feb 28, 2013 09:15 AM

All I can say is 'read my signature' :p


All times are GMT -6. The time now is 04:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.