Changeset 4543
- Timestamp:
- 02/03/12 16:14:32 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/1.5/lib/embedService/aSoundCloud.class.php
r3938 r4543 108 108 public function embed($id, $width, $height, $title='', $wmode='opaque', $autoplay=false) 109 109 { 110 // Height is fixed at 81 pixels because soundcloud has no provision for any other height. 111 // wmode is now passed through properly, also width. Thanks to awssmith 110 112 return <<<EOT 111 <object height="$height" width="$width"> 113 <object height="81" width="$width"> 114 <param name="wmode" value="$wmode"></param> 112 115 <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F$id"></param> 113 116 <param name="allowscriptaccess" value="always"></param> 114 <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>117 <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="$width" wmode="$wmode"></embed> 115 118 </object> 116 119 EOT;

