Page 1 of 1

Audio & video tags

Posted: Wed Aug 09, 2023 8:12 am
by Zanniej
After receiving this request, I've now added audio and video tags, that you can use to embed such files from other places. (I've been told Discord allows for easy embedding this way. Just paste it in a message in discord and send it. Afterwards, right click the video or audio file and select "Copy link").

They can be used as follows:

Code: Select all

[audio]url[/audio]

Code: Select all

[video]url[/video]
Please use these new tags responsibly :-)

Re: Audio & video tags

Posted: Wed Aug 09, 2023 9:02 am
by Aspect of Sorrow
What formats are supported?

Re: Audio & video tags

Posted: Thu Aug 10, 2023 3:34 am
by Zanniej
It's using default HTML5 audio and video tags.
There is no straight answer for that question, as support differs depending on browsers and operating systems.

The short answer is:
MP3 for audio
MP4 for video

For the long answer, you can check here for video and here for audio formats that are supported. However, I recommend sticking with MP3 and MP4 formats.

I did not add support for multiple formats.