AudioVideoLib - WARNINGS
× Home Adding the Library to Your Game Instructions Documentation WARNINGS
☰ Menu

WARNINGS



This does not replace the existing sound script commands!




If you add a sound using the normal script (play sound), you will not be using any features of this library. This would play a sound the same, old way Quest has always played sounds.




The new function is PlaySound. (There are many new functions, but that is the main one.)

The differences between play sound (the old script command) and PlaySound (the new function) are akin to the differences between show menu and ShowMenu, in that there are many differences.

Note that the new functions say "(NEW)" beside them when adding a script:






Neither the mp3 nor the mp4 format will play in the desktop player when using these functions as of Quest 5.7.2!

(You can still use the old play sound script command to do this with local audio files, though.)




If any ID you assign to an sound or video contains spaces, each space will be replaced with an underscore.

(This is because these functions use dictionaries, and dictionary names do not allow spaces.)




If the game is played in a mobile browser, autoplay does not work!

The player must have access to the audio controls and manually press 'Play'.

Due to this, controls are automatically displayed if the game is being played in a mobile browser.

NOTE: This means any sounds added with the old play sound script command will not play in mobile browsers!