init.agi 566 B

123456789101112131415161718192021222324
  1. /*
  2. Music Module Register Script
  3. */
  4. //Setup the module information
  5. var moduleLaunchInfo = {
  6. Name: "Music",
  7. Desc: "The best music player in ArOZ Online",
  8. Group: "Media",
  9. IconPath: "Music/img/module_icon.png",
  10. Version: "0.1.0",
  11. StartDir: "Music/index.html",
  12. SupportFW: true,
  13. LaunchFWDir: "Music/index.html",
  14. SupportEmb: true,
  15. LaunchEmb: "Music/embedded.html",
  16. InitFWSize: [475, 720],
  17. InitEmbSize: [360, 254],
  18. SupportedExt: [".mp3",".flac",".wav",".ogg",".aac",".webm",".mp4"]
  19. }
  20. //Register the module
  21. registerModule(JSON.stringify(moduleLaunchInfo));