The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Audio tag in blogspot, Audio tag half working in blogspot
Retrotechy
post Jul 21 2023, 04:34 PM
Post #1





Group: Members
Posts: 3
Joined: 21-July 23
Member No.: 28,991



Hi all.

First post on a great forum. Unfortunately it’s a shout out for help please.

I have a blogger blog and have tried to put in an auto play audio tag into the main forum landing page.

As the landing page isn’t a post, I have put the audio tag html in the theme html in the body.

When you navigate to the page from the website address or a browser, the audio doesn’t play, but if you open a post then use the back button to go back to the landing page, the audio then plays fine.

Can anyone advise why this is happening?

Initially the audio had no visual but I added the controls attribute and it looks like the auto play attribute isn’t initially kicking in, but does kick in when you hit the back button back to Landing page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
coothead
post Jul 24 2023, 07:09 PM
Post #2


Advanced Member
****

Group: Members
Posts: 206
Joined: 12-January 23
From: chertsey, a small town 25 miles south west of london, england
Member No.: 28,743



Hi there pandy,

here is an interesting article with regard to mp3/mpeg usage...

The Difference Between MPEG and MP3


coothead
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 25 2023, 09:12 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



QUOTE(coothead @ Jul 25 2023, 02:09 AM) *

here is an interesting article with regard to mp3/mpeg usage...

The Difference Between MPEG and MP3


OK. But it doesn't mention content-type. But I looked it up and audio/mp3 doesn't seem to exist, so audio/mpeg as you said. But neither worked for me. I'm on Windows, so I guess browsers differ between OS.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
coothead
post Jul 25 2023, 01:04 PM
Post #4


Advanced Member
****

Group: Members
Posts: 206
Joined: 12-January 23
From: chertsey, a small town 25 miles south west of london, england
Member No.: 28,743



QUOTE(pandy @ Jul 25 2023, 03:12 PM) *


But neither worked for me. I'm on Windows,
so I guess browsers differ between OS.




Are you certain that the code that you are using for your test(s) is not faulty?

Check out my test code here...

munchkin-song.zip file




coothead


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th May 2024 - 05:08 AM