rgrasso2
Forum Replies Created
-
Sorry, I am in France, Europe, it was my night 7 hours ago.
I just troubleshooted my staging website : as soon as I replaced the theme with a modern one, the playlist was visible again : so it is our old theme.Robert
Ok, the standard wordpress playlist is not showing up either : must be our old style.
You can close this ticket.
Robert
I just did it, it is still totally void
Hi Mike,
Thanks for the very quick answer.
It is checked.Robert
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Impossible to remove an mp3 ?Well, I am sorry but it is worse than that : if I open a past post with an mp3 in a podcast entry : if I click on “Edit Media File” : at some point the window is brought at its top, and if I scroll down to the podcast entry, it is not editable at all !
Other than that : the button does not work in a new post, nor in a old post in an empty field.
I have a staging site on the same server, which I created as a clone of the website some months ago, with Powerpress v8.2.9 and WordPress 5.4, there for a new podcast entry field, there is no “Verify” button at first, but a “Continue” button : and both work fine. The button “Change media” is working fine as well. Everything seems to be working, actually.
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Impossible to remove an mp3 ?Hello,
Thank you for looking into this : the button is this one :
<div id=”pp-change-media-file-showarchive” style=”display: none;”>
<div id=”save-media-showarchive” class=”pp-blue-button”
onclick=”powerpress_saveMediaFile(this)”>VERIFY</div>
</div>It is located below the entry field, the text is white with a blue background. When I bring the pointer above it, it changes into a hand with a pointing finger. But when I click on it, its shape or color does not change at all, just plain nothing happens, and no red message or anything else appears anywhere. I am accessing WordPress administration on Ubuntu Linux 19.10, using Google Chrome version 80.0.3987.132. In Google Chrome, I have AdBlock Plus which is disabled for this website WordPress administration site.
And the Verify button has been working perfectly until recently.I removed the previous stylings â now this seems clean to me
sorry – publishing the code again :
</script> <script type="text/html" id="tmpl-wp-playlist-item"> <div class="wp-playlist-item"> <a href="{{ data.src }}?dl=1" class="wppp-download" download="" onclick='event.stopPropagation();'><i class="fa fa-download" title="Download" aria-hidden="true"></i></a> <a class="wp-playlist-caption" href="{{ data.src }}"> <!-- <span class="wp-playlist-item-title">“{{{ data.title }}}”</span> -->Well, thanks to this post :
filters – Dealing with the clickTrack event in wp-playlist.js in order to display audio download link on the playlist title row – WordPress Development Stack Exchange
https://wordpress.stackexchange.com/questions/327590/dealing-with-the-clicktrack-event-in-wp-playlist-js-in-order-to-display-audio-doI don’t know you, but I am beginning to feel happy : doing a better job : the key being :
onclick='event.stopPropagation();'<script type=”text/html” id=”tmpl-wp-playlist-item”>
<div class=”wp-playlist-item”>
<i class=”fa fa-download” title=”Download” aria-hidden=”true”></i>
<!– <span class=”wp-playlist-item-title”>“{{{ data.title }}}”</span> –>
<# if ( data.title ) { #>
<span class=”wp-playlist-item-title”>{{ data.title }}</span>I removed the previous stylings – now this seems clean to me
Ok, I figured it out : it is in Chrome/Developer tools/Event listeners/click:
wp-includes/js/mediaelement/wp-playlist.min.js
line 72, function “clickTrack”
I discovered the “Pretty Print” feature : and there, I don’t understand what I read; in Javascript, I just learned how to display “Hello World” a long time ago …
Robert
Sorry, I must get used to this input window :
“I added this code OUTSIDE the wp-playlist-item :”
<a href="{{ data.src }}?dl=1" class="wppp-download" download=""><i class="fa fa-download" title="Download" aria-hidden="true"></i></a>and
and moving it below the download icon :
.wppp-download {
padding-left:5px;
border-bottom: 1px solid #ccc;
display: block;
}Hi Angelo,
Here is the link to my test playlist :
https://wordpress-65751-1111518.cloudwaysapps.com/new-podcast-playlist/
This morning I was about to say : there is worse. But first things first :
in the previous css which I borrowed :
.wppp-download {
margin-top: -22px;
padding-left:5px;
position: absolute;
}I figured it out : “margin-top: -22px;” : this is “cheating” : actually, the whole
<div class=”wp-playlist-item”>
element is CLICKABLE; but when you click on it, it is the main item which provides the target links; so if I add my download HTML code inside this element, clicking on the download button won’t work : this is why the guys from the post above added the download code OUTSIDE the item element, and then, through styling (-22px !), they bring graphically the download icon at the right place ABOVE : but this is a trick. And this does not work with my long lines, because it will be mixed up with the wrapped text on the second line of the item title.
Now, this morning, in the web inspector, I saw “something”, and tonight I have lost it : it was not in the “layout” tab : it was on top of another “pane”, I saw a couple of Javascript files, from mediaelement, with a “remove” button to remove them : removing them one at a time, I figured that making that whole “div” clickable was done in the second Javascript file; but then I was in a hurry, left quickly – and tonight I am not able to find this again.
So meanwhile, here is what I did :
I added this code OUTSIDE the wp-playlist-item :
<i class=”fa fa-download” title=”Download” aria-hidden=”true”></i>then, I am removing the separation line between items :
.wp-playlist-item {
…
border-bottom-style: none !important;
}and moving it below the download icon :
.wppp-download {
padding-left:5px;https://wordpress-65751-1111518.cloudwaysapps.com/new-podcast-playlist/
border-bottom: 1px solid #ccc;
display: block;
}This is working – but I am not fully satisfied : I would like to have the download button on the same line as the item’s title. But for this, I must first find the disappeared place where I found those Javascript files mentioned.
Any comment ? Any hint ?
Robert
But this does not work when title lines are very long, as I have enabled the text wrapping, for our members to see the whole line đ
`<a href=”{{ data.src }}” class=”wpse-download” download=””><i class=”fa fa-download” title=”Download” aria-hidden=”true”></i></a>
I improved my situation : I kept your â\u21E9â, kept my download line outside the âwp-playlist-item”, and added
.wppp-download {
margin-top: -22px;
padding-left:5px;
position: absolute;
}This is working – but for people with poor eyesight, I am afraid that the special character is too small. The download icon from Font Awesome seems preferable, but I cannot figure out how to make this code work :
<i class=”fa fa-download” title=”Download” aria-hidden=”true”></i>
their icon is either above the item title or below, but never on the same line đ I am using WordPress 5.3.2