Parameters

Listed below are all parameters that can be applied to the flashvars object in your HTML page.

  • skin
  • playlist
  • playlistxml
  • volume
  • autoplay
  • repeat
  • shuffle
  • debug
  • key
  • mousewheelfix
  • maxmemory

    skin
    The location of the skin file.

    example:

    flashvars.skin = 'skins/myskin/skin.xml';


    playlist
    The location of the playlist file.

    example:

    flashvars.playlist = 'playlist.xml';


    playlistxml
    Sets the tracks of the playlist directly instead loading the playlist as file.
    This parameter should replace the playlist parameter when used.

    example:

    flashvars.playlistxml = '<track><location>track1.mp3</location><creator>E-Phonic</creator><title>Track 1</title></track>';


    volume
    Sets the volume of the player.

    example:

    flashvars.volume = 50;


    autoplay
    If set to true, the player will start playing directly after it is loaded.

    example:

    flashvars.autoplay = 'true';


    repeat
    If set to true, the player will repeat the playlist.

    example:

    flashvars.repeat = 'true';


    shuffle
    If set to true, the player will shuffle the playlist.

    example:

    flashvars.shuffle = 'true';


    debug
    If set to true, the player will alert debug information like missing images and other files.

    example:

    flashvars.debug = 'true';



    key
    Your registration key.

    example:

    flashvars.key = 'REGISTRATIONKEY';

    If you have more then one key you can add them comma separated.

    flashvars.key = 'REGISTRATIONKEY1, REGISTRATIONKEY2';



    mousewheelfix
    In most browsers both the HTML page and Flash Player respond to the mouse wheel. This makes it impossible to only scroll the playlist of EP Player in a HTML page.
    When setting this parameter a fix is activated that disables HTML scrolling when the mouse is over the playlist.

    example:

    flashvars.mousewheelfix = 'true';



    maxmemory
    Sets the maximum amount of memory (in megabytes) before reloading an audio stream.
    This is a fix for loading audio streams. Flash Player will load any audio stream as a never ending audio file. Normally this will crash your browser once all memory is used by Flash Player. This fix forces the player to reload the stream and prevents crashing the browser.

    example:

    flashvars.maxmemory = '100';