010101 Oh you took the right decision. Just found out that iOS 13 does not play the html5 audio from any web page in the background if it has a loop tag to it. Very smart, eh!
Audio BBcode Add-on
- No. I thought about adding this but, this would mean any forum member could post a music player which auto plays which could be unexpected and annoying. Also, many devices, like the iPhone, block auto playing anyway.
- This is solely an audio BBCode; it has nothing to do with video. But, you may use this formatting extension to make video URLs auto embed.
[deleted]
Can we embed mp3 files stored with Google Drive?
Version 1.9 released
- Compatible with beta 14
Beta 15 ready.
This extension is ready for the 1.0 stable release of Flarum.
The shortcode in which I link to a local mp3 file is giving me view of the player and an unplayable audio.
Any reason why it may be the case? Does this extension conflict with any other ones, like FoF Upload?
- Edited
My shortcodes are related to radio online mp3 files and this helps us to speed up the radio transmission. It's great, isn't it?
nickdecker fof upload wraps the upload in a bbcode. This extension needs the raw URL.
Is there a way to make it work with FoF Upload? Or do I have to deactivate it?
It's hard to figure out the full path to the MP3 file from the Media Manager window.
Or is there another audio player which works better with FoF Upload?
nickdecker What’s it look like after you upload an audio file? Is it a link? An icon? I’ve never uploaded an audio file with the upload extension. Only images.
It looks like a box which displays the size of the file, it's name and also gives the button to download it.
nickdecker That's what I was afraid of. Sorry, this extension won't work like that. This is just for converting raw audio URLs into a player. There is no extension which will convert the upload into a player at this time.
Such an extension would have to convert FoF Upload's BBCode back to a raw URL somehow. Or, override it. It's not something I can work on at this time.
Is there a way to disable the download file function in the audio player? I'm creating a songwriting forum and don't want people to be able to download the file easily.
- Edited
whisperwow Not currently, but that option can be added. I’ll make a note to add this option.
Maybe the format could be download=no
and that would add this HTML audio variable: controlsList="nodownload"
.
However, if you want no download by default so that your users don’t have a choice, that would be a custom BBCode that I could make just for your forum.
010101 Yes I would like “No Download” by default. Please let me know what you need to make this happen. Thanks!
Please remove the version you have installed and instead install:
composer require 2nrwls/audio:"*"
Thank you...that worked great!
I don't get paid until next Friday, but will be happy to send a donation your way. Do you prefer through Flarum or do you have a "Give Me A Coffee" page?