Plugin Contributor
por_
(@por_)
Could you post an example of a shortcode you used?
Thread Starter
Lemur
(@timsalabim)
Thanks for your help
http://lemurcattaka.com/rocco-raimundo-do-you-wanna/
the shortcode I used is: [soundcloud url=”http://api.soundcloud.com/tracks/50795683″ params=”auto_play=false&show_artwork=true&color=000000″ width=”100%” height=”166″ iframe=”true” /]
I doubt its the code I use though, the same players with the same code were fitting perfectly last week.
Cheers
Plugin Contributor
por_
(@por_)
That does indeed look like a bug. As a quick fix; please check if the “default width” field is empty in your plugin settings.
http://scr.timbormans.com/53cflqmusa04.png
Thread Starter
Lemur
(@timsalabim)
Yeah, its blank. Changing it to 50% for instance doesnt change anything.
Thread Starter
Lemur
(@timsalabim)
btw, do you think this happened after the update? And if so, how do I go back to a older version?
Plugin Contributor
por_
(@por_)
Hmm, I think I figured it out. It looks like the theme you are using has set a $content_width = 608. That overrides the default 100% because oEmbed doesn’t support percentage values. That is really shitty, but I can’t think of a good way around it right now because it’s WordPress doing this, not the plugin.
There are 3 ways to fix it:
- Change the
$content_width value in the functions.php of your WordPress theme to 500 (hardest fix)
- Change the “default width” in the plugin settings to
500 (easiest fix)
- Manually change the width in your shortcode (most annoying fix)
[soundcloud url="http://api.soundcloud.com/tracks/50795683" params="auto_play=false&show_artwork=true&color=000000" width="500" height="166" iframe="true" /]
I’d go with option 2. Remember you can’t use percentage values unfortunately. Let me know if that works.
Plugin Contributor
por_
(@por_)
Besides that I’ll try to fix it in another way and push an update soon.
Plugin Contributor
por_
(@por_)
I just pushed an update (version 2.2.3), for some reason I can’t see it yet, but hopefully you will get an update notification soon. This will fix your issue. In the meantime, please try one of the suggestions above. Sorry for the bug and thanks for reporting it.
Thread Starter
Lemur
(@timsalabim)
I just recieved the update and it’s working now. Thanks a ton!
whoisawesomeyoureawesome.jpg
Plugin Contributor
por_
(@por_)
Glad it worked. Thanks again for reporting.