Karaoke Player is my private experimental FREE project (200 cr
is IMVU base price, not mine) made just for fun.
YOU DONT HAVE TO BUY STICKER.
Just copy code from CUSTOM HTML/CSS and paste it on any panel on your homepage
(Edit > Edit custom HTML/CSS)
Its first MIDI player coded in Flash Technology over internet (its not supported
by this language natively and also direct sound card access is not possible).
Features:
* Play MID or KAR files
* ZIP compressed files are supported (one direct file in each archive)
* Song LYRICS DYNAMIC DISPLAY support (if included in loaded file)
* Built-in REAL TIME synthesizer for instruments (SiON library)
* Built-in hi quality wave samples for drums
* Load from local disk
* Load from pasted link (see proxy information)
* Load from HTML link under JavaScript with external interface flash function
playMIDI(midi_file_link) (see proxy information) or
playBinary(base64_encoded_string_binary_data) (you can embed zip compressed midi
data inside HTML code if you dont want to use external servers)
* Proxy support (if player is not allowed to load file from external server, it
will call JavaScript function tryProxy(midi_file_link) to try with proxy
script - its because of different domain flash security reason (read more
about crossdomain.xml over internet))
*** TRY IT ***
*** CUSTOM HTML/CSS - JUST COPY THIS CODE FOR FREE ***
Just copy code from CUSTOM HTML/CSS and paste it on any panel on your homepage
(Edit > Edit custom HTML/CSS)
*** MORE INFORMATION ***
* Why its FREE?
I am not satisfied with final result, Flash Technology sound, performance,
domain limitations (for some technology reason you must use proxy server to load
files from different domain server) and IMVU no support for homepage script
communication with Flash stickers.
* I bought sticker and it cant load pasted external links?
Copy CUSTOM HTML/CSS code and paste it on any panel on your homepage (Edit >
Edit custom HTML/CSS). This code uses my private external proxy server which
solves this problem. No need to buy sticker. Anyway, its because of Flash
Technology security limitations when trying to load file from other server than
Flash Application is located (so other website than imvu) - you can read about
crossdomain.xml over internet.
* How can I add own song links?
<a class="karaoke" href="javascript:playMIDI('http://yourserver.com/files/midifile')">Song Name</a>
* I have own server and want to play karaoke and midi files from there?
You must prepare crossdomain.xml file (see example below or read over internet)
and locate it direcly on server domain (http://domain.com/crossdomain.xml). Any
link code should look like this (JavaScript call function playMIDI inside
Flash):
<a class="karaoke" href="javascript:playMIDI('http://yourserver.com/files/midifile')">Song Name</a>
* How can I make own proxy for external links?
Create proxy.php script (you can use example code from below) on your server and
remember to create crossdomain.xml file (you can use example code from below)
directly on server domain. Next, in JavaScript function tryProxy(midifilelink)
set your own proxy link like this:
var proxy="http://yourserver.com/proxy.php?url=";
* Why some songs lagging?
Its because every sound note is generated in real time (midi files are format
which is played like live concert) and sometimes Flash Technology performance is
not enough for this case.
* Is it possible to embed own songs somehow in homepage without using external
servers?
Yes, but its a little advanced thing. Pack MID or KAR file into ZIP archive,
encode data string with base64 and link it to function playBinary(base64encodedstringbinarydata)
* Where can I find more songs?
Just search for MID or KAR files over internet. There are many websites with
free download.
*** FOR ADVANCED USERS ***
proxy.php
crossdomain.xml:
Related: