AudioTest
Yes that is me playin the guitar
In my Browser the audio controls appear and about 2-3 seconds later they disappear.
I am using FireFox on Ubuntu 24 - turned off all my extensions, completely cleared
the cache, restarted browser.
Audio URL with poster (uploaded poster file with name matching audio filename)
AHA! I noticed something! The audio controls work as expected but only the first time.
I refresh the page (ctrl-f5) and the controls disappear after 2-3 seconds. It only works
normal on the initial rendering of the page. I do not know what could cause this.
Weird, can't get controls to stay at all now.
After minor edit it worked, yet now it does not work at all.
Petko, could you please take another look ?
--gnuzoo
I don't have a problem in Firefox 156 on Lubuntu, the controls stay always visible. If your poster is too narrow, only the "play" and "mute" buttons appear. --Petko
Still not workin for me. My Firefox is 156.
I put the audio nearer the top because by the time I can scroll down the controls are already gone.
This is a mysterious problem.
--gnuzoo
I went to w3schools - Try It - Audio and
changed the "audio" tags to "video" and clicked run - I see the same problems.
Clearly this is not a PmWiki issue.
--gnuzoo
Using hash fragment "controls" this problem still exists.
--gnuzoo
Audio Poster
Using attach: for an mp3 and having a matching image filename
I find the poster shows up like is it supposed to. After about
2 or 3 seconds the controls disappear and do not return.
Mousing over a video poster redisplays controls, but this does not
happen for an audio poster. Clicking the audio poster will start
and stop the audio playing, but will not show controls ever.
Is this a bug?
--gnuzoo
I think this just will not work because a poster for audio
is not supported by standard HTML. It would require that
an audio with a poster have some javascript and layer the
audio player on top of the image.
PmWiki currently plays audio with a poster inside an
HTML video tag. In 3 seconds there are no controls.
*SIGH* --gnuzoo
> Unlike Ape, PmMedia does not require JavaScript to be enabled
> The links to timestamps, and the predefined video speed, do need JavaScript to be enabled.
I suppose that adding a little JavaScript only for audio that has a poster would not be the end of the world.
I will look into doing this.
--gnuzoo
I don't experience what you describe, in Firefox the controls stay always visible. You need to not include controls=0 in the hash fragment or in $PmMedia['DefaultAttrs']['controls']. At any rate, this is a browser- or user-related feature or bug, there is nothing PmMedia can do. --Petko