vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Insert Audio Player (https://vborg.vbsupport.ru/showthread.php?t=228936)

mark350 11-26-2009 03:35 PM

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.

garretbyrne 11-27-2009 01:01 AM

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

mark350 11-27-2009 10:57 PM

Quote:

Originally Posted by garretbyrne (Post 1921456)
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

Charlie98902 11-27-2009 11:07 PM

Enter the HTML code without hitting the button to post html.

Charlie98902 11-27-2009 11:09 PM

1 Attachment(s)
Works for me. See pic.

mark350 11-27-2009 11:46 PM

Quote:

Originally Posted by Charlie98902 (Post 1921823)
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

Charlie98902 11-28-2009 12:35 AM

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.

mark350 11-28-2009 12:36 AM

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.

Charlie98902 11-28-2009 12:37 AM

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.

mark350 11-28-2009 12:41 AM

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.


All times are GMT. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01020 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete