Thread: Music Player
View Single Post
  #1  
Old 02-16-2012, 12:05 AM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Music Player

Hi, is it possible to somehow edit this code and make it so that users can add multiple songs, much like a playlist, with possibly the option to select which song to play

I know users can simply add a space followed by another URL, however that plays them in order and there is no way to jump to the next song, which is a rather pain.

Thanks in advanced. (I don't want users to have to sign up to any external websites such as playlist.com or any others.

PHP Code:
<if condition="$userinfo[field9]">
<
div id="profmp3" class="tborder content_block">
    <
h4 class="thead block_title">
        <
a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <
a name="albums"></a>
        <
span class="block_name">My Music</span>
    </
h4>
    <
div class="block_content" id="collapseobj_profmp3" style="">

            
<
div class="alt2" align="center"><script language="JavaScript" src="http://www.my-site.com/forum/audio-player/audio-player.js"></script>
<
object type="application/x-shockwave-flash" data="http://www.my-site.com/forum/audio-player/player.swf" id="audioplayer4" height="24" width="220">
<
param name="movie" value="http://www.my-site.com/forum/audio-player/player.swf">
<
param name="FlashVars"
value="playerID=4&amp;slider=0x303030&track=0xFFFFFF&border=0x666666&loader=0xC52C24&autostart=no&loop=yes&soundFile=$userinfo[field9]">
<
param name="quality" value="high">
<
param name="menu" value="false">
<
param name="wmode" value="transparent">
</
object>
    
</
div>

</
div>
</
div>
</if> 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01780 seconds
  • Memory Usage 1,789KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete