Adding song examples.
This commit is contained in:
1 parent
da00ea378e
commit
fdf482de2c
3 files changed
+8
-5
No files matched your search
@@ -0,0 +1,2 @@
|
||||
*.cdg
|
||||
*.mp3
|
||||
@@ -24,8 +24,8 @@ body { background-color:#eeeeee; font-family:arial,sans-serif; width:80%; margi
|
||||
.footer img { border:0em; }
|
||||
</style>
|
||||
|
||||
<script src="./HTML5-CDGPlayer_files/cdgmagic_cdgplayer.js"></script>
|
||||
<script src="./HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.js"></script>
|
||||
<script src="cdgmagic_cdgplayer.js"></script>
|
||||
<script src="cdgmagic_cdgdecoder_lowresource.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function Start_CDGPlayer()
|
||||
@@ -89,7 +89,8 @@ function toggle_2x_mode()
|
||||
<select onchange="set_file_prefix(this.value)" size="1" style="width:324px; margin:0px; color:#00dddd; background-color:#444444">
|
||||
<option value="">--select one--</option>
|
||||
<!--NOTE: the file is split on the colon for the mp3 and the cdg-->
|
||||
<option value="SC-SBI-REMIX - Billy Idol - Rebel Yell:SC-SBI-REMIX - Billy Idol - Rebel Yell">SC-SBI-REMIX - Billy Idol - Rebel Yell</option>
|
||||
<option value="Lionel Richie - Hello:Lionel Richie - Hello">Lionel Richie - Hello</option>
|
||||
<option value="Katy Perry & Juicy J - Dark Horse:Katy Perry & Juicy J - Dark Horse">Katy Perry & Juicy J - Dark Horse</option>
|
||||
</select>
|
||||
</center>
|
||||
<br><br>This JavaScript based player should work in most HTML5 compatible browsers supporting both the <canvas> and <audio> (note: "Sample Project" 01-04 are silent) tags, including many mobile and embedded devices.
|
||||
@@ -113,4 +114,4 @@ function toggle_2x_mode()
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
</body></html>
|
||||
@@ -65,7 +65,7 @@ function set_file_prefix(file_url_prefixes)
|
||||
if (file_url_prefixes == "") { return; };
|
||||
// Construct the file paths.
|
||||
var audio_file_prefix = file_url_prefixes.split(":", 2)[0];
|
||||
var cdg_file_prefix = file_url_prefixes.split(":", 2)[1];
|
||||
var cdg_file_prefix = file_url_prefixes.split(":", 2)[1];
|
||||
// Prepend the media files source directoy.
|
||||
// file_url_prefix = "media/" + file_url_prefix;
|
||||
// Stop, reset, and blank all the CD+G related stuff.
|
||||
|
||||
Reference in new issue
Block a user