WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Audio Format Change in Beta 2? (17 posts)

  1. Nick Haskins
    Member
    Posted 1 year ago #

    I had been testing 3.6 beta 1 extensively and had things worked out pretty well and displaying nicely. Updated to beta 2 a few minutes ago and it seems the audio/video formats aren't working?

    Here's the test audio URL.

    http://ylex.yle.fi/sites/ylex.yle.fi/files/biisinaytteet/MACKLEMORE_-_Thrift_shop.part_.mp3

    Just wondering what's changed between beta 1 and beta 2.

    Sweet!
    Nick

  2. In what way they are not working?

    There might have been some changes and I had to redo some of the post formats posts.

  3. Nick Haskins
    Member
    Posted 1 year ago #

    Hey Sami,
    Yep using the_post_format_audio();. It was working previously (beta 1), where as now (Beta 2) I just see the shortcode itself as it doesn't seem to be being parsed.

    Ex:
    [audio src="http://ylex.yle.fi/sites/ylex.yle.fi/files/biisinaytteet/MACKLEMORE_-_Thrift_shop.part_.mp3" /]

    I went through the motions, deactivated my theme, etc. Even with twentythirteen active still doesn't seem to be being parsed.

    Nick

  4. It works for me. Do you use the_remaining_content() function?

    In general I just use URL of the .mp3 in Audio embed code or URL metabox.

  5. Nick Haskins
    Member
    Posted 1 year ago #

    Well shit that's strange then. Yeah it's pretty standard stuff.

    Here's code:
    http://cl.ly/image/2S1q0q1c0m2h

    Here's admin:
    http://cl.ly/image/2M1Q42453N3E

    You say it works yeah? Did you happen to use that same test mp3 url? (I'm sure you did just have to ask though) Just strange as it was working with beta1 so wondering what's changed there between 1 and 2.

  6. Ok, for somehow it works with [audio src="http://ylex.yle.fi/sites/ylex.yle.fi/files/biisinaytteet/MACKLEMORE_-_Thrift_shop.part_.mp3" /] but not with just URL http://ylex.yle.fi/sites/ylex.yle.fi/files/biisinaytteet/MACKLEMORE_-_Thrift_shop.part_.mp3.

    I'm not sure why, can you test it with different file name. That shouldn'r be a problem but it's worth to test.

  7. Nick Haskins
    Member
    Posted 1 year ago #

    Ya I tried with a few other .mp3 URL's and all produce the same result when only using the URL itself.

  8. Nick Haskins
    Member
    Posted 1 year ago #

    Happens to be the same with video as well, when only using a URL.

  9. Could this be the case with external links, not sure.

  10. Nick Haskins
    Member
    Posted 1 year ago #

    Thats exactly it.

    I uploaded a sample mp3 and it works.

    So the issue is when using external URL's on audio and video post formats.

  11. Both with and without the audio tag work for me on the latest trunk.

  12. Nick Haskins
    Member
    Posted 1 year ago #

    Switch to 2013.

    I had someone else test, and they are producing the same results that I am with latest and the functions the_post_format_audio() (found in 2013).

    To replicate:
    1. Use Audio Post in 2013
    2. Apply this to meta box and publish:
    http://ylex.yle.fi/sites/ylex.yle.fi/files/biisinaytteet/MACKLEMORE_-_Thrift_shop.part_.mp3

    This works if you actually upload it, and insert it.

  13. Delete!

    OH! Okay, I see. Huh. Lemme kick that. It works with a post,but not the audio post.

  14. Nick Haskins
    Member
    Posted 1 year ago #

    I had 2 other people test, both producing the same results I produced. I tested again, fresh copy, still the same results, on 2013.

    Front End
    http://cl.ly/image/1o0H1H3Q1v3l

    Editor
    http://cl.ly/image/3J2g452V0705

    This theme that I built is literally waiting for 3.6 to go live. It was working with beta 1. Then beta 2 drops today, I update, and both of those post format (audio and video) which are using the same functions as in 2013, no longer work. Both are using external links.

    Something, obviously changed. Seeing as how my project is under version control there have been no changes to the codeset.

    *Edit* I have second install, as I'm developing 2 similar products in tandem under 3.6 codeset. I just updated that one to beta 2, and is showing the same thing.

  15. Nick Haskins
    Member
    Posted 1 year ago #

    Ahh sweet! Ya Mika don't make me go crazy man. haha. Well, feels good when the shit can be replicated at least I know I'm not nuts. lol

  16. http://core.trac.wordpress.org/ticket/24235 is made for this.

    Yeah, okay that was really weird. Marking resolved as we have it in trac now :)

  17. Nick Haskins
    Member
    Posted 1 year ago #

    Sweet. It's also worth noting that it's the same with the_post_format_video(). Same exact behavior.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.