WordPress.org

Ready to get started?Download WordPress

Forums

SoundCloud Shortcode
Can't seem to get HTML5 player working (5 posts)

  1. fezziwigwebworks
    Member
    Posted 2 years ago #

    I am trying to get the HTML5 version of the player to show up on this site:

    http://www.deanvoice.com/

    This is a Genesis theme site (subtheme Prose). I am forcing its doctype to HTML5 using a hook. However, I have also tried this with TwentyEleven, which is HTML5, and it still doesn't work...

    The shortcode I am using is like this: [soundcloud]http://soundcloud.com/deansluyter/1066-1[/soundcloud]

    I have checked the "HTML5" box in the plugin settings, but it still gives me the Flash version.

    Help, and thanks!

    http://wordpress.org/extend/plugins/soundcloud-shortcode/

  2. Ralph83
    Member
    Posted 2 years ago #

    Same problem here.

    Comment in soundcloud-shortcode.php says:

    // The HTML5 widget doesn't support http://soundcloud.com/<username&gt;
    // style urls yet. So we force the old Flash widget for now.

    This comment explains why HTML5 isn't working, but it doesn't say what kind of url to use instead of the http://soundcloud.com/<username&gt; url. Does anyone know which url style to use for HTML5?

  3. fezziwigwebworks
    Member
    Posted 2 years ago #

    Ralph83,

    I was able to achieve this on http://www.deanvoice.com by simply using the share code generated on the soundcloud site itself.

    So...

    [soundcloud url="http://api.soundcloud.com/tracks/28041416" params="auto_play=false&show_artwork=false&color=ff7700" width="100%" height="166" iframe="true" /]

    I have a basic SoundCloud account, so this is the only style I was able to generate.

  4. loungeme
    Member
    Posted 2 years ago #

    But... how does the HTML 5 shortcode working of this plugin?

  5. Ralph83
    Member
    Posted 2 years ago #

    Thanks for the replies!

    The following shortcode works as well and activates HTML5:

    [soundcloud]http://api.soundcloud.com/tracks/28041416[/soundcloud]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic