Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wpi audio player

Featured Replies

im looking at the installer.hta file and how its coded and found the section i was interested in editing but did not know how to begin. My coding (lack thereof) expertise is looking at code and seeing what and how things are done. however for the life of me i cant figure out how to make the installer.hta play random audio files.

what i was after was that every time the installer.hta file was ran. it would play random audio. i would like have like say 5 audio files and each time the installer.hta was ran it would randomly play any of the audio files i have.

i have tried to search for a solution to this but i cant seem to find anyone that may have done or have thought about this before.

hunting around i found a snippet of code that could help me.

<script language="javascript">

var list = new Array;

list[0] = "0.mp3";

list[1] = "1.mp3";

list[2] = "2.mp3";

list[3] = "3.mp3";

list[4] = "4.mp3";

list[5] = "5.mp3";

list[6] = "6.mp3";

list[7] = "7.wma";

list[8] = "8.mp3";

list[9] = "9.mp3";

var choice = Math.floor(Math.random() * list.length); document.write("<embed src='http://x.com/storage/audio/"+list[choice]+"' autostart='yes'>");

</script>

Edited by 1bolhunglo

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.