WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Audio Shortcode is not falling back to Flash in IE9 && FF (18 posts)

  1. MikeKusold
    Member
    Posted 1 year ago #

    Example Page

    I have some .m4a files that I am trying to get to stream across all browsers (IE8, IE9, FF, Chrome, Safari), and the plugin details page says that Jetpack uses a flash fallback, but I am not able to get it to work. In IE9 & FF, it just shows me a download link.

    Is this a known bug? Am I doing something wrong [audio http://*.org/*.m4v]? Is there a work around?

    Flash Version: 10.0.45.2
    Browser: IE9, FF15
    Wordpress: Latest
    Jetpack: Latest

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

  2. MikeKusold
    Member
    Posted 1 year ago #

    So I did some more trouble shooting. What the docs fail to mention is that the flash fallback is only valid for .mp3s.

  3. Tim Moore
    Moderator
    Plugin Author

    Posted 1 year ago #

    Apologies about the docs. We'll get those updated.

  4. MikeKusold
    Member
    Posted 1 year ago #

    I'm amazed a Jetpack Dev actually saw this month old post. Thanks for the hard work!

  5. two7s_clash
    Member
    Posted 1 year ago #

    Any update on these? It would be great to have an easy way to prioritize flash and then fallback to HTML5. As an option somewhere. For whatever reason, all my solely mp3 playlists are just showing as download lists, although the behavior should be that they appear in Flash.

  6. two7s_clash
    Member
    Posted 1 year ago #

    HELLO?

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @two7s_clash WordPress now includes its own Audio player. It has replaced the audio shortcode that was included in Jetpack. You can read more about it here:
    http://make.wordpress.org/core/2013/04/08/audio-video-support-in-core/
    http://codex.wordpress.org/Function_Reference/wp_audio_shortcode

  8. two7s_clash
    Member
    Posted 1 year ago #

    @Jeremy so what happens to blogs using the old shortcode for generating playlists? Does that still work? The version in Jetpack supported all these options up to now (except for the playlist shortcode, but you could still do them...)

    E.g. for a playlist, this shortcode below works currently with Jetpack and > 3.6.

    http://www.mbird.com/2011/11/november-playlist-3/

    [audio http://www.mbird.com/wp-content/uploads/2011/11/01-Ive-Been-A-Bad-Bad-Boy.mp3, http://www.mbird.com/wp-content/uploads/2011/11/02-A-Breath-Taking-Guy.mp3, http://www.mbird.com/wp-content/uploads/2011/11/03-If-Dolphins-Were-Monkeys.mp3, http://www.mbird.com/wp-content/uploads/2011/11/04-I-Told-Her-on-Alderaan.mp3, http://www.mbird.com/wp-content/uploads/2011/11/05-Right-Behind-You.mp3, http://www.mbird.com/wp-content/uploads/2011/11/06-Speedway.mp3, http://www.mbird.com/wp-content/uploads/2011/11/07-Man-Sized-Wreath.mp3, http://www.mbird.com/wp-content/uploads/2011/11/08-Church-On-White.mp3, http://www.mbird.com/wp-content/uploads/2011/11/09-Its-Real.mp3, http://www.mbird.com/wp-content/uploads/2011/11/10-The-Reason.mp3, http://www.mbird.com/wp-content/uploads/2011/11/11-Theres-No-Way-Out-Of-Here.mp3, http://www.mbird.com/wp-content/uploads/2011/11/12-In-No-Resistance.mp3, http://www.mbird.com/wp-content/uploads/2011/11/13-Bad-Blood.mp3, http://www.mbird.com/wp-content/uploads/2011/11/14-The-Neighbor.mp3, http://www.mbird.com/wp-content/uploads/2011/11/15-The-Road-to-Birmingham.mp3, http://www.mbird.com/wp-content/uploads/2011/11/16-Boulder-to-Birmingham.mp3, http://www.mbird.com/wp-content/uploads/2011/11/17-In-The-World.mp3, http://www.mbird.com/wp-content/uploads/2011/11/18-Nothing-Lasts-Forever.mp3|titles=I've Been a Bad Bad Boy, A Breath Taking Guy, If Dolphins Were Monkeys, I Told Her on Alderaan, Right Behind You, Speedway, Man-Sized Wreath, Church on White, It's Real, The Reason, There's No Way Out of Here, In No Resistance, Bad Blood, The Neighbor, The Road to Birmingham, Boulder to Birmingham, In The World, Nothing Lasts Forever|artists=Paul Jones, The Marvelettes, Ian Brown, Neon Neon, Brandon Flowers, Morrissey, R.E.M., Stephen Malkmus, Real Estate, Thunderclap Newman, David Gilmour, Frankie Miller, Crooked Fingers, Dixie Chicks, Mott the Hoople, Emmylou Harris, Ryan Adams, Echo and the Bunnymen]

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Jetpack's Audio shortcode didn't support playlists until now, but we've just added the playlist shortcode to the plugin a few minutes ago. It will be available in the next Jetpack release.

    You can read more about it here:
    http://plugins.trac.wordpress.org/ticket/1794

  10. two7s_clash
    Member
    Posted 1 year ago #

    But it did support playlists.

    I've been using playlist shortcode with Jetpack from the beginning.
    This format has been generating playlists at least for the past couple years:

    [audio one.mp3,two.mp3,three.mp3|titles=Song One,Song Two,Song Three|artists=The Ones, The Twos,The Threes]

    Again, the playlist player here on this page was generated using Jetpack.

    In fact, I wrote a popular plugin in 2011 Jetpack Easy Playlists to generate this shortcode by looping over attached mp3s. Some of you guys at Auttomatic have even helped me with it...

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Sorry for the confusion. I should have been more precise. I was talking about a different playlist shortcode, [playlist]. It's only available on WordPress.com at the moment, and uses a different player, that looks like this:

    http://i.wpne.ws/Qh14

    We're currently working on bringing this player to Jetpack.

    The new audio player included in WordPress doesn't support playlists, as far as I know. The shortcode does support a lot of parameters (see this post for more details), but does not allow for multiple audio sources. I searched for core trac tickets with such a request, but didn't find any. It would be worth opening a new one, maybe.

    Since this new core feature uses the [audio] shortcode, it consequently conflicts with any plugins (like Jetpack) using the same shortcode. That's also why we've decided to bring the [playlist] shortcode to Jetpack, to provide an easy way for folks to insert playlists into their posts and pages.

    Unfortunately, that won't solve the problem of all your posts using the customized version of the Audio player, with the multiple files. I'm afraid I can only recommend that you force the old Jetpack player to appear by editing the plugin files here:
    http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/shortcodes.php#L49

  12. two7s_clash
    Member
    Posted 1 year ago #

    Fabulous, thanks for the update. So glad to see that WP/Auttomatic proper is taking an interest in making [audio] more like [gallery]! Thats exactly what my humble little plugin has been trying to do for the best couple years.

  13. two7s_clash
    Member
    Posted 1 year ago #

    For those using the old audio shortcode to make playlists appear (or using my plugin-in Jetpack Easy Playlists), you can force the old Jetpack player to appear by commenting out line 50 and 51 in
    /wp-content/plugins/jetpack/modules/shortcodes.php

    This will allow legacy JetPack playlist support to work if you've upgraded to WP 3.6 and JetPack 2.3.4

  14. two7s_clash
    Member
    Posted 1 year ago #

    @Jeremy: plans to introduce a filter so that legacy JetPack [audio] playlists will work again? See: http://jamesfishwick.com/3-6-audio-so-what-happens-to-blogs-using-the-old-jetpack-shortcode-for-generating-playlists/

  15. sowing
    Member
    Posted 1 year ago #

    I'm using my iphone to edited the .php, and I'm wondering where I would add the */ in /wp-content/plugins/jetpack/modules/shortcodes.php?

  16. sowing
    Member
    Posted 1 year ago #

    @Two7's_clash

    I tried following your instruction and I can't seem to get it working. I put the /** */ in lines 50 & 51 and still comes up with one big broken link. Any suggestions?

  17. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Plans to introduce a filter so that legacy JetPack [audio] playlists will work again?

    Since WordPress Core now includes its own Audio player, I think it would make more sense to improve the core Audio player to handle playlists. But until then, I agree that it would be nice to find a way to fall back to Jetpack's audio player for playlists. I created a trac ticket about this, and we'll work on it:
    http://plugins.trac.wordpress.org/ticket/1869

  18. two7s_clash
    Member
    Posted 1 year ago #

    Excellent, the filter should check for => 3.6 AND the presence of multiple mp3 files in the audio shortcode attribute, and then fall back to the legacy Jetpack player.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic