#47909 closed defect (bug) (invalid)
Soundcloud shortcode fails when SSL is enabled
| Reported by: | dst | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Embeds | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
The Soundcloud embedded player doesn't load properly, if WordPress / Apache uses SSL.
This is fixable by a minor change in the player code. Please see attached diff.
@@ -167,7 +167,7 @@
function soundcloud_iframe_widget($options) {
// Build URL
- $url = 'https://w.soundcloud.com/player/?' . http_build_query($options['params']);
+ $url = 'https://w.soundcloud.com/player?' . http_build_query($options['params']);
// Set default width if not defined
$width = isset($options['width']) && $options['width'] !== 0 ? $options['width'] : '100%';
// Set default height if not defined
Attachments (1)
Change History (4)
#1
@
7 years ago
- Component Shortcodes → Embeds
- Keywords reporter-feedback added
- Version trunk
Hi @dst,
Welcome to WordPress Trac! Thanks for the ticket.
I can't found soundcloud_iframe_widget function in WordPress core files. can you please share the file path in which above function used?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Diff of a proposed fix