WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] [audio] shortcode with customizations not working (7 posts)

  1. Virendra
    Member
    Posted 9 months ago #

    I am using latest Jetpack (2.5) and WordPress (3.6.1)

    The audio tag works only if it does not has any customized parameters
    e.g. This works:

    [audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3]

    This does not:

    [audio http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3|titles=Matt Mullenweg Interview|loop=yes|animation=no]

    For the 2nd case I get the following output:

    <a href="http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3|titles=Matt">http://wpcom.files.wordpress.com/2007/01/mattmullenweg-interview.mp3|titles=Matt</a>

    I have tried checking this with different themes, all plugins disabled and I still see the issue.

    http://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    The [audio] shortcode now uses the core Audio feature introduced in WordPress 3.6, if that is your version of WordPress, and thus uses these parameters:

    source, loop, autoplay and preload

    http://codex.wordpress.org/Audio_Shortcode

    I have fixed our support document to reflect this change.

    Note that we have two tickets related to brining back some of the old Jetpack shortcode functionality:

    http://plugins.trac.wordpress.org/ticket/1869
    http://plugins.trac.wordpress.org/ticket/1794

  3. Virendra
    Member
    Posted 9 months ago #

    Thanks Richard for the update.

    However, on the WordPress page http://en.support.wordpress.com/audio/ it says that we can use the shortcode as mentioned in my post. However, they are still not working. Is there some issue with them or do we need to change something or are they not supported anymore.

    Also, in the reference that you linked http://codex.wordpress.org/Audio_Shortcode there is no mention of the able to use titles, artists etc. So, are they no longer supported?

  4. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Hi, that's right, Jetpack's use of the audio shortcode was superceded by the new audio shortcode included in Core. So if you are using WordPress 3.6, you can no longer use the parameters found on on the WordPress.com support page that you linked to.

  5. Virendra
    Member
    Posted 9 months ago #

    Thanks for the information. So now we will have to go and manually update each posts. I wish there was a way to fix this, specially if you have 100s of such posts.

  6. waffenss
    Member
    Posted 9 months ago #

    No easy way just lots of time trust me already been there, but just local url drop on the page for audio/video is so much better now it is worth the time

  7. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Yes Virendra, you'll have to manually edit the posts, sorry for the inconvenience.

Reply

You must log in to post.

About this Plugin

About this Topic