Skip to content

Adding Music to Musical Loading Screen

FAXES edited this page Feb 23, 2018 · 1 revision

How to add music to the fax-load screen resource

1. Using a webserver to play music files

Recommended

a) Get your songs and upload to a web server (eg; http://example.com/1.ogg), It's recommended to keep song names simple (1-5 etc) for easy use in the code.

b) In the resource go to the index.html and open it. At the start you will see a script. Replace source src='http://mydomain.com/song.ogg' type='audio/ogg'>

with source src='http://YourDomain/1.ogg' type='audio/ogg'> change YourDomain and 1.ogg with your own domain / file name. NOTE: ALL AUDIO FILES MUST BE OF .OGG FORMAT

c) open the index.html in a browser that supports .ogg files (FireFox Works). If the music plays you have done well. If not revise over your code make sure spelling is right and. Every refresh the song may change making this a great audio resource.

End Tutorial

2. Using the resource to play music files

Not Recommended for more than 5 songs

a) Place your Songs into the music folder and name them 1.ogg, 2.ogg, 3.ogg etc.

b) If named 1.ogg 2.ogg etc. You should not have to change any of the code in the index.html

c) If you can't host songs on a webserver contact me on Discord or via Email and I'll see if I can get them hosted.

NOTE: This resource does not have any onscreen text and everything should be done to the loadscreen.jpg.

Contact Details Discord : FAXES#8655 Email : Support@fraffel-ads.com