• There are other posts that touch this but it is scattered info.

    The short story is that when I put audio shortcode in a post nothing renders.

    I gather that these are implemented in themes and I got a plugin called shortcode reference and it tells me that audio is definitely included in my current theme (which is My Music Band, and formerly it was Muso) It fails on both.

    I have no clue how to troubleshoot this

    Am I meant to “enable” this globally somewhere? Thank you for your answers

    • This topic was modified 6 years, 3 months ago by tixrus.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please provide a link to a page on your site where we can see this. Thanks.

    How are you entering the shortcode?

    I’ve found that some audio files just don’t play — due to encoding or other things — and may have to be tweaked with ffmpeg or something similar.

    Thread Starter tixrus

    (@tixrus)

    Thank you for your speedy reply. The page was not yet published but I went ahead and published it so you can see it. I just installed the theme, haven’t customized or anything so please excuse the mess.

    I entered
    [audio https://drive.google.com/open?id=1SAhbBS1uKm9Yh3wvJkJZ3U-aNKvIUPEi]

    The mp3 file is hosted on my google drive and it plays fine
    https://drive.google.com/file/d/1SAhbBS1uKm9Yh3wvJkJZ3U-aNKvIUPEi/view

    Thread Starter tixrus

    (@tixrus)

    I also tried the URL ….google.com/file/d/….. no luck

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The shortcode should be

    [audio src="https://drive.google.com/open?id=1SAhbBS1uKm9Yh3wvJkJZ3U-aNKvIUPEi" ]

    https://codex.www.ads-software.com/Audio_Shortcode

    Though I’m not sure about whether the browser will recognize it properly without a file extension.

    Thread Starter tixrus

    (@tixrus)

    Well, I tried what you suggested Hmmmm no way to put a picture. Well now it just shows the URL of the audio file but if you click it it links back to the blog post. I was expecting a little audio player. Maybe I should host it somewhere that it puts the mp3 on the end of the link?

    Here is the post I thought I put it in the last comment
    https://blog.colleenkitchen.com/index.php/2018/08/09/genre-bender/

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The file is only 2.7MB, so you could just upload it to your site and insert via Add Media.

    Thread Starter tixrus

    (@tixrus)

    I escaped the quotes. Maybe I shouldn’t have done that. And I am in the text, not the visual editor, because of the Quara code. I wanna know why the quora block appears twice too since the code is only there once. But the more pressing problem is to get an audio player EMBEDDED in my blog posts.

    Thread Starter tixrus

    (@tixrus)

    I unescaped the quotes. It’s still just a link…. now the link actually goes to the mp3 file (could have done that with just a simple link) but I want an audio player INLINE.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    https://bertha.sterndata.com/post-format-audio/

    The code is

    [audio https://bertha.sterndata.com/wp-content/uploads/2012/07/originaldixielandjazzbandwithalbernard-stlouisblues.mp3]

    Thread Starter tixrus

    (@tixrus)

    I would really rather host most of the non recurring media offsite. 2.7MB is not much but I plan to have a large amount of audio and video files in the blog when I launch it, and my VPS is rather small. I set the filesize limit for uploads to 2MB. I could upload it as a MIDI in this case, is their a MIDI player plugin?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you can host it someplace where you can reference it by a file name with an extension, I suspect it would work.

    For example, dropbox shares a link as https://www.dropbox.com/s/xxxx/originaldixielandjazzbandwithalbernard-stlouisblues.mp3.

    You can create a free dropbox account and try it out.

    Thread Starter tixrus

    (@tixrus)

    OK I have a free dropbox with some space. But before I try that I need to troubleshoot, so just for testing purposes I will upload one to the blog host server, if that doesn’t work then we have a bigger issue. I’ll get back to you and let you know how that worked. And THANK YOU FOR STICKING WITH ME. I hope this thread will be useful for others when we finally get it solved.

    Thread Starter tixrus

    (@tixrus)

    Tried the dropbox Yes the file name has an mp3 extention, but STILL, THAT didn’t work. It still didn’t produce a player. Now I have another problem, every time I try to update it does it but it moans and groans about some expired link.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you have a new problem, please start a new topic.

    Thread Starter tixrus

    (@tixrus)

    I wasn’t looking for help on the new problem in this thread. Sorry… if I was actually stating a problem looking for help I’d be way more precise. ?? It was just explaining why I’ve been otherwise engaged trying to fix that one that seems more basic, and haven’t been able to pay attention to the one under discussion here. There is already a thread about it I’m all over it. as time allows. Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘audio shortcode just not working’ is closed to new replies.