To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #1216 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Soundcloud object height issue

Reported by: awssmith Owned by: tboutell
Priority: minor Milestone:
Component: apostrophePlugin Version:
Keywords: Cc:
Symfony version: 1.4

Description

SoundCloud in video slot as rendered in Firefox where object height is set to 38pxand as rendered in Chrome where embed height is set to 81px as intendedSoundCloud in video slot as rendered in Firefox where object height is set to 38pxand as rendered in Chrome where embed height is set to 81px as intendedIn aSoundCloud.class.php, the object height is a variable, where it should be explicitly set to 81 (as it is in the embed):

<object height="$height" width="$width">
    <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F$id"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F$id" type="application/x-shockwave-flash" width="100%"></embed>
</object>

The result is that when a SoundCloud? file is added to a video slot in a column that is, say, 240px wide, the height of that object is set to 38px, and any content under the slot partially renders behind the video slot.

Screenshots attached. Thanks!
SoundCloud in video slot as rendered in Firefox where object height is set to 38px
and as rendered in Chrome where embed height is set to 81px as intended

Attachments

soundcloud-firefox.jpg Download (10.0 KB) - added by awssmith 4 months ago.
SoundCloud? in video slot as rendered in Firefox where object height is set to 38px
soundcloud-chrome.jpg Download (11.7 KB) - added by awssmith 4 months ago.
and as rendered in Chrome where embed height is set to 81px as intended
wheres-my-menu.png Download (22.6 KB) - added by awssmith 4 months ago.
menu renders beneath flash object w/out wmode parameter

Change History

Changed 4 months ago by awssmith

SoundCloud? in video slot as rendered in Firefox where object height is set to 38px

Changed 4 months ago by awssmith

and as rendered in Chrome where embed height is set to 81px as intended

Changed 4 months ago by awssmith

Any progress on applying a fix for this issue? Thanks!

Changed 4 months ago by awssmith

Apologies for the extraneous images... Just checking to see when this issue might be addressed. Thanks!

Changed 4 months ago by awssmith

I'd like to make an additional request: when fixing the height issue, can you please add the wmode parameter for both the object and embed? This will prevent JS menus from appearing beneath the Flash elements (new screenshot attached):

<object height="81" width="$width">

<param name="WMode" value="Opaque"></param>
<param name="movie" value=" http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F$id"></param>
<param name="allowscriptaccess" value="always"></param>
<embed allowscriptaccess="always" height="81" src=" http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F$id" type="application/x-shockwave-flash" width="100%" wmode="opaque"></embed>

</object>

Changed 4 months ago by awssmith

menu renders beneath flash object w/out wmode parameter

Changed 4 months ago by tboutell

  • status changed from new to closed
  • resolution set to fixed

[4543]

Fix for #1216: the height should be fixed at 81 pixels (soundcloud's only supported height) and the wmode should be respected in both object and embed cases. Also the width should be the passed width and not 100% in both object and embed cases.
Thanks to awssmith

Note: See TracTickets for help on using tickets.