From 73a22265ab53271122bf1f47bcca6e9604c5d159 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 1 Sep 2015 00:51:03 -0500 Subject: html5 mp3 player --- cgi-bin/details | 115 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 89 insertions(+), 26 deletions(-) (limited to 'cgi-bin/details') diff --git a/cgi-bin/details b/cgi-bin/details index 35b34c7..dc245cf 100755 --- a/cgi-bin/details +++ b/cgi-bin/details @@ -147,32 +147,32 @@ sub details_view } if (@$files > $many_jpgs) { - if (find_mp3($files)) - { - my $z_playlist = "/cgi-bin/bucky/playlist/$t->{id}"; - my $z_autoplay = "false"; - if (check_key($USER->{boxes}, "autoplay")) - { $z_autoplay = "true"; } - print <<__PLAYLIST__; -
LOADING MP3 PLAYER ...
- - - -__PLAYLIST__ - } +# if (find_mp3($files)) +# { +# my $z_playlist = "/cgi-bin/bucky/playlist/$t->{id}"; +# my $z_autoplay = "false"; +# if (check_key($USER->{boxes}, "autoplay")) +# { $z_autoplay = "true"; } +# print <<__PLAYLIST__; +#
LOADING MP3 PLAYER ...
+# +# +# +#__PLAYLIST__ +# } if (check_key($t->{display}, "nfl")) # no file list { ; } elsif (check_key($t->{display}, "ffl")) # full file list @@ -193,6 +193,69 @@ __PLAYLIST__ print ""; print qq(); + print <<__PLAYER__; + +__PLAYER__ } sub find_mp3 -- cgit v1.2.3-70-g09d2