BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - How to link to and play audio files
  FAQ FAQ  Forum Search   Register Register  Login Login

How to link to and play audio files

 Post Reply Post Reply
Author
Message
Speedy55 View Drop Down
Newbie
Newbie
Avatar

Joined: Aug 19 2020
Location: Quebec, Canada
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Speedy55 Quote  Post ReplyReply Direct Link To This Post Topic: How to link to and play audio files
    Posted: Feb 24 2023 at 6:26am
Can't seem to find anything on linking to and playing audio files in Web site.  Anyone her can steer me in the right direction? Currently using the 'file download' widget but would prefer a solution that plays the file without opening the player page...

Thanks;

Speedy (not so) Charly Tongue

Edited by Speedy55 - Feb 24 2023 at 7:56am
Speedy Charly
WEB radio; Internet for the ears & soul ♫
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Feb 24 2023 at 10:56am
You can download this element from my web site and use it:  https://denislafrance.net/Element/Audio.en.htm

Don't forget that the latest HTML standards are preventing autoplay on audio files and the browsers are complying.








Edited by Hobby001 - Feb 24 2023 at 10:57am
Back to Top
Speedy55 View Drop Down
Newbie
Newbie
Avatar

Joined: Aug 19 2020
Location: Quebec, Canada
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Speedy55 Quote  Post ReplyReply Direct Link To This Post Posted: Feb 24 2023 at 8:22pm
Danke mein Freund!  Will try that...

Speedy
Speedy Charly
WEB radio; Internet for the ears & soul ♫
Back to Top
Speedy55 View Drop Down
Newbie
Newbie
Avatar

Joined: Aug 19 2020
Location: Quebec, Canada
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Speedy55 Quote  Post ReplyReply Direct Link To This Post Posted: Feb 24 2023 at 11:26pm
Downloaded and tried your solution, here is what I did with it;
Etoiles du saloon (radiodesfestivals.ca)

It works fine, but is that a work in progress?  I see a lot of room for added functionalities here;
• Setting initial volume
• Play once/loop switch
• Ability to change audio file at will
• Maybe offering various skins
• Resizable
• Ability to switch controls on/off (save for play/pause, of course)
• Maybe also ability to change color of player elements and/or selecting an image to replace the white player area...

But thanks all the same, it is still a nice improvement over what I was doing at first.

Speedy




Speedy Charly
WEB radio; Internet for the ears & soul ♫
Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Feb 25 2023 at 2:42am
I simply translated  the HTML standard audio tag into an OE elememt.  Browsers are interpreting the audio tag with limited flexibility.

Some of your requirements are not available at all in html.

Some are but since I am doing this on a volunteer base and do not get any money from it.  I limit the time spent to work on it.



Back to Top
Hobby001 View Drop Down
Admin Group
Admin Group
Avatar

Joined: Jun 05 2018
Location: Canada, Québec
Status: Offline
Points: 6194
Post Options Post Options   Thanks (1) Thanks(1)   Quote Hobby001 Quote  Post ReplyReply Direct Link To This Post Posted: Feb 26 2023 at 1:12pm
There might be something for you on this link

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.