bbcode request: audio

Discuss technical problems and features here
User avatar
arthaey
Brown Belt
Posts: 1082
Joined: Sat Jul 18, 2015 9:11 pm
Location: Seattle, WA, USA
Languages: :
EN (native);
ES (adv receptive, int productive);
FR (false beginner);
DE (lapsed beg);
ASL (lapsed beg);
HU (tourist)
Language Log: viewtopic.php?f=15&t=3864&view=unread#unread
x 1643
Contact:

bbcode request: audio

Postby arthaey » Wed Sep 16, 2015 8:25 pm

We already have YouTube and Soundhound. Could we also have a generic audio tag? Eg:

Code: Select all

[audio]{URL}[/audio]


Code: Select all

<audio src="{URL}" controls></audio>
2 x
Posts in: FrenchGermanHungarianSpanish
NaNoWriMo: 10,000 words
Corrections welcome in any language; I prefer an informal register.

User avatar
rdearman
Site Admin
Posts: 5869
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 16137
Contact:

Re: bbcode request: audio

Postby rdearman » Sun Sep 20, 2015 10:10 am

All done. You can now use audio tags.
8 x
: 14 / 22 22 French Paperbacks Read: 7736 pages

The Autodidactic Podcast
The Lollygagging Podcast

I often post on this forum using mobile devices, so please excuse short messages and typos.

User avatar
tomgosse
Brown Belt
Posts: 1143
Joined: Tue Aug 25, 2015 11:29 am
Location: Les Etats Unis
Languages: Anglais (langue maternelle)
Français (A1)
Language Log: viewtopic.php?f=15&t=1185
x 2337
Contact:

Re: bbcode request: audio

Postby tomgosse » Sun Sep 20, 2015 5:57 pm

When I try this code:

Code: Select all

[audio]https://www.dropbox.com/s/mddg9vm2ph5fjvx/FIA%20theme.mp3?dl=0[/audio]


The audio player disappears after a few seconds. The player should be between,

here ...

... and here.

I'm using Windows 10 and the latest version of Firefox.

Thank you
Tom
0 x
Rejoignez notre groupe français ! Les Voyageurs

User avatar
tomgosse
Brown Belt
Posts: 1143
Joined: Tue Aug 25, 2015 11:29 am
Location: Les Etats Unis
Languages: Anglais (langue maternelle)
Français (A1)
Language Log: viewtopic.php?f=15&t=1185
x 2337
Contact:

Re: bbcode request: audio

Postby tomgosse » Sun Sep 20, 2015 6:02 pm

Here is a test from a different server.

Code: Select all

[audio]https://soundcloud.com/tom-gosse/le-boudin[/audio]


The player should be between,
here ...

... and here.

Thanks again.
Tom
0 x
Rejoignez notre groupe français ! Les Voyageurs

User avatar
AlexTG
Green Belt
Posts: 299
Joined: Sat Jul 18, 2015 12:14 pm
Location: Tasmania, Australia
Languages: Easy to Read: English(N), French, Spanish
Able to Read: German, Latin
Learning to Read: Japanese, Hindi/Urdu
x 531

Re: bbcode request: audio

Postby AlexTG » Sun Sep 20, 2015 6:14 pm

The url needs to point directly to the mp3 file. Notice when you place those links in your browser, they open up webpages rather than downloading an mp3. For dropbox you need "dl=1" on the end of the url not "dl=0"

Code: Select all

[audio]https://www.dropbox.com/s/mddg9vm2ph5fjvx/FIA%20theme.mp3?dl=1[/audio]




I couldn't find any way to get the soundcloud as an mp3 :(.
1 x

User avatar
tomgosse
Brown Belt
Posts: 1143
Joined: Tue Aug 25, 2015 11:29 am
Location: Les Etats Unis
Languages: Anglais (langue maternelle)
Français (A1)
Language Log: viewtopic.php?f=15&t=1185
x 2337
Contact:

Re: bbcode request: audio

Postby tomgosse » Sun Sep 20, 2015 6:27 pm

AlexTG wrote:The url needs to point directly to the mp3 file. Notice when you place those links in your browser, they open up webpages rather than downloading an mp3. For dropbox you need "dl=1" on the end of the url not "dl=0"

Code: Select all

[audio]https://www.dropbox.com/s/mddg9vm2ph5fjvx/FIA%20theme.mp3?dl=1[/audio]




I couldn't find any way to get the soundcloud as an mp3 :(.


Merci mon ami ! :)
0 x
Rejoignez notre groupe français ! Les Voyageurs

User avatar
AlexTG
Green Belt
Posts: 299
Joined: Sat Jul 18, 2015 12:14 pm
Location: Tasmania, Australia
Languages: Easy to Read: English(N), French, Spanish
Able to Read: German, Latin
Learning to Read: Japanese, Hindi/Urdu
x 531

Re: bbcode request: audio

Postby AlexTG » Sun Sep 20, 2015 6:36 pm

The audio is currently automatically loading from start to finish before we click play. In a thread with lots of files this wouldn't work out well. The html should to be replaced with:

Code: Select all

<audio src="{URL}" preload="metadata" controls></audio>
1 x

User avatar
rdearman
Site Admin
Posts: 5869
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
Language Log: viewtopic.php?f=15&t=1836
x 16137
Contact:

Re: bbcode request: audio

Postby rdearman » Sun Sep 20, 2015 9:08 pm

OK, I've modified the audio link with preload. Let me know if there are any issues.
0 x
: 14 / 22 22 French Paperbacks Read: 7736 pages

The Autodidactic Podcast
The Lollygagging Podcast

I often post on this forum using mobile devices, so please excuse short messages and typos.

User avatar
tomgosse
Brown Belt
Posts: 1143
Joined: Tue Aug 25, 2015 11:29 am
Location: Les Etats Unis
Languages: Anglais (langue maternelle)
Français (A1)
Language Log: viewtopic.php?f=15&t=1185
x 2337
Contact:

Re: bbcode request: audio

Postby tomgosse » Sun Sep 20, 2015 10:36 pm

When I view this post on my Samsung Tab 4 10.1 (Android system) with Firefox the player disappears. But, it is fine on my notebook.

Code: Select all

[audio]https://www.dropbox.com/s/p1mduggyqisabag/le-boudin.mp3?dl=1[/audio]


Players should be between here ...


... and here.
0 x
Rejoignez notre groupe français ! Les Voyageurs

User avatar
tomgosse
Brown Belt
Posts: 1143
Joined: Tue Aug 25, 2015 11:29 am
Location: Les Etats Unis
Languages: Anglais (langue maternelle)
Français (A1)
Language Log: viewtopic.php?f=15&t=1185
x 2337
Contact:

Re: bbcode request: audio

Postby tomgosse » Mon Sep 21, 2015 12:57 am

Here is what I found:

- [audio] and [soundcloud] tags do work on my laptop (Windows 10, Firefox)
- [audio] and [soundcloud] tags do work on my Android tablet with Chrome.
- [audio] and [soundcloud] tags do not work on my Android tablet with Firefox

From what I've read on the web this has to do with problems in Soundcloud, HTML5 and Firefox.
I'll try and do some more checking tomorrow.

Tom
1 x
Rejoignez notre groupe français ! Les Voyageurs


Return to “Technical Support and Feature Requests”

Who is online

Users browsing this forum: No registered users and 2 guests