Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2009, 03:35 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Insert Audio Player

I want to embed our music player in forum posts, but not sure how to do it. Here's an example of an embed code I want to use:

<object width="306" height="66"><param name="movie" value="http://www.true2ourselves.com/video/musicplayer.swf?configXmlPath=http://www.true2ourselves.com/video/musicconfigxmlcode.php?viewkey=dfaecdc212708f721b7 8&playListXmlPath=http://www.true2ourselves.com/video/musicplaylistxmlcode.php?viewkey=dfaecdc212708f721 b78"></param><param name="wmode" value="transparent"></param><embed src="http://www.true2ourselves.com/video/musicplayer.swf?configXmlPath=http://www.true2ourselves.com/video/musicconfigxmlcode.php?viewkey=dfaecdc212708f721b7 8&playListXmlPath=http://www.true2ourselves.com/video/musicplaylistxmlcode.php?viewkey=dfaecdc212708f721 b78" type="application/x-shockwave-flash" wmode="transparent" width="306" height="66"></embed></object>

How can I make this work in the forums? Thanks.
Reply With Quote
  #2  
Old 11-27-2009, 01:01 AM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code won't work because it would work in HTML and vb disables html.. So best bet would be to enable html just for admins and post it in... or create a new page and add this in... https://vborg.vbsupport.ru/showthread.php?t=228112
Reply With Quote
  #3  
Old 11-27-2009, 10:57 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by garretbyrne View Post
The code won't work because it would work in HTML and vb disables html.. So best bet would be to enable html just for admins and post it in... or create a new page and add this in... https://vborg.vbsupport.ru/showthread.php?t=228112
Thanks for the reply. I tried allowing html for my user group, however, when I tried to embed it in a post (html wrap) it did not work. Here's what happened:
http://www.true2ourselves.com/forum/...html#post64401
Reply With Quote
  #4  
Old 11-27-2009, 11:07 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enter the HTML code without hitting the button to post html.
Reply With Quote
  #5  
Old 11-27-2009, 11:09 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me. See pic.
Attached Images
File Type: jpg 11-27-2009 5-08-20 PM.jpg (70.8 KB, 0 views)
Reply With Quote
  #6  
Old 11-27-2009, 11:46 PM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Enter the HTML code without hitting the button to post html.
Hmmm... that's the first thing I tried. I activated html for my user group "allow html" then I posted. It looks like this:

http://www.true2ourselves.com/forum/...html#post64415
Reply With Quote
  #7  
Old 11-28-2009, 12:35 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You didn't happen to click on the html button to post that did you? I just copied and pasted your code on my test site but HTML in post is either on or not unlike the blogs and CMS.
Reply With Quote
  #8  
Old 11-28-2009, 12:36 AM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I think I figured it out now....

One problem left... when I embed the player in the forum, it does not work (it shows up, but no music)... any ideas? Thanks.
Reply With Quote
  #9  
Old 11-28-2009, 12:37 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure there as I think you need to have it coded to a folder in you root area to call up the songs? Just a guess.
Reply With Quote
  #10  
Old 11-28-2009, 12:41 AM
mark350 mark350 is offline
 
Join Date: Jan 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really appreciate your help... I have just one more question. I see how to activate html for a specific forum. However, if I do that, then everyone can use html in that forum. How can I make it so only admin, for example, can use html in a specific forum - but no one else can?

Thank you.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06538 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete