Joshua Goodwin
Forum Replies Created
-
Forum: Plugins
In reply to: [PlayPress] Remove download linkI’m not sure, but I guess you mean the download button that appears in Google Chrome’s HTML5 audio player? You could modify the plugin to add
controlsList="nodownload"
— find line 81 ofplaypress.php
and replace$output .= '<audio controls preload="metadata">';
with
$output .= '<audio controls controlsList="nodownload" preload="metadata">';
It’s not a very good or simple way, though. A better solution might be to disable the plugin and use WordPress’s built in player: https://codex.www.ads-software.com/Audio_Shortcode
Forum: Plugins
In reply to: [PlayPress] Doesn't work on mobile devicesYou’ve provided a comma-separated list of multiple files, which apparently allows the Flash player to play several tracks in succession — I didn’t even know this was possible (!). It doesn’t work with the HTML5 player used on Android and iOS.
As it’s not an advertised feature of PlayPress, if you don’t want to have a separate player for each track, I’d suggest using a different plugin. In fact, WordPress has a great built-in audio playlist feature now (on the post/page editing screen, choose Add Media > Create Audio Playlist) which is good and can work on mobile devices. The end result looks a bit like this: https://make.www.ads-software.com/core/files/2014/01/Screen-Shot-2014-01-29-at-3.06.07-PM.png
Forum: Plugins
In reply to: [PlayPress] Not working on GoogleChromeThere seemed to be something wrong with your web host/server that was preventing some files from loading. Although I see you’re now using a different plugin and it’s working, which is fine.
Note that WordPress now has a great built-in player that doesn’t require a plugin: https://codex.www.ads-software.com/Audio_Shortcode
Forum: Plugins
In reply to: [PlayPress] Doesn't work on mobile devicesSorry this is rather late… if you’re still having problems, could you provide a link to your website so I can see?
Forum: Plugins
In reply to: [PlayPress] Not working on GoogleChromeCan you provide a link to your website where it’s not working, so I can have a look?
Forum: Plugins
In reply to: [PlayPress] autoplay and autoresume on reload pagethis is wrong – use this for playpress…
$flash_parameters .= '&autostart=yes';
autostart instead of autoplay ??
Yes, sorry about that. Sadly I can’t edit my reply any more.
Forum: Plugins
In reply to: [PlayPress] autoplay and autoresume on reload pagecan you suggest me some audio wp pluing with autoplay, html5 and resume support?
A quick search suggests https://www.ads-software.com/plugins/audiobar/
Forum: Plugins
In reply to: [PlayPress] Use in theme?(Two months late, for which I apologise. Hopefully, this will still help someone.)
<?php echo do_shortcode('[audio mp3="https://media.joshuagoodwin.com/ambush.mp3"]'); ?>
works for me. Note that theecho
is important – it does catch me out every time.Otherwise, I don’t know what to suggest. Does it work in posts?
Forum: Plugins
In reply to: [PlayPress] autoplay and autoresume on reload page(A bit late – sorry. Hope this is still useful to somebody.)
Not an ideal solution, but if you really want autoplay you can edit the plugin code. Find this:
if ($artist !== false) { $flash_parameters .= '&artists=' . $artist; }
and replace it with this:
if ($artist !== false) { $flash_parameters .= '&artists=' . $artist; } $flash_parameters .= '&autoplay=yes';
(In other words, just add the line
$flash_parameters .= '&autoplay=yes';
.)Your second suggestion is rather more ambitious, I’m afraid – but I’m sure there are other plugins that will let you do this.
Forum: Fixing WordPress
In reply to: Removiing items from front-end admin barIf you want to hide things from the front-end admin bar, you could put the necessary CSS in your active theme’s style.css file.
Otherwise, remove_node() is one useful function you could use. If you wanted to make this specific to one of the front- or back-ends, you could wrap it in an
is_admin()
(or!is_admin()
, for the opposite) condition:[...] if ( is_admin() ) { $wp_admin_bar->remove_node('[...]'); } [...]
Forum: Plugins
In reply to: [PlayPress] [Plugin: PlayPress] LanguageSorry for the delay in responding…
If you upgrade to the newly released version 1.2, you can use the optional
title
and/orartist
shortcode attributes to completely replace the “Track #1” text:[audio mp3="https://example.com/bells.mp3" title="Imagine" artist="John Lennon"]
This example will display “John Lennon – Imagine”. If you don’t want the ” – ” in there, then only use one (1) of the attributes:
[audio mp3="https://example.com/bells.mp3" title="xrctygbui replacement text in any language"]
(If neither are specified in the shortcode, then the title and artist metadata embedded in the MP3 will be used.)
Forum: Plugins
In reply to: [W3 Total Cache] HTML minify strips surrounding whitespace from "cite"I’ve noticed this as well. Might be worth reporting it to the dedicated minify project.
Forum: Fixing WordPress
In reply to: Publicize in Twitter, Facebook, etc.Any word on this? Could this plugin be released for self-hosted? ??
There’s seemingly a shedload of demand for this, from me too. Please, please, please, the powers that be, could this be done? Something in a similar vein to the WordPress.com Stats plugin.
As of version 1.6 of the Stats plugin, this seems to be enabled. Woo-hoo.
Forum: Plugins
In reply to: Textile filter plugin troublesHello?!