Embedding Code
3 posters
Page 1 of 1
Embedding Code
So I want to embed code, but not within code brackets [].
This is not for displaying source, rather if i wanted to embed a flash based music player, or something of the sort. I want the following code below to be part of the html page, within a post. I don't see an option for this in posts..
any ideas other than the "custom html pages" feature? I want normal members to be able to do this.
This is not for displaying source, rather if i wanted to embed a flash based music player, or something of the sort. I want the following code below to be part of the html page, within a post. I don't see an option for this in posts..
any ideas other than the "custom html pages" feature? I want normal members to be able to do this.
- Code:
<object width="409" height="40"> <param name="movie" value="http://listen.grooveshark.com/songWidget.swf"></param> <param name="wmode" value="window"></param> <param name="allowScriptAccess" value="always"></param> <param name="flashvars" value="hostname=cowbell.grooveshark.com&widgetID=14765880&style=water&p=0"></param> <embed src="http://listen.grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="409" height="40" flashvars="hostname=cowbell.grooveshark.com&widgetID=14765880&style=water&p=0" allowScriptAccess="always" wmode="window"></embed></object>
doja- New Member
- Posts : 15
Reputation : 0
Language : English
Re: Embedding Code
so you want to enable html on your forum...
right?
go to
> general
> messages and email: configuration
> allow html: yes
also in every post there are check boxes to turn on html
right?
go to
> general
> messages and email: configuration
> allow html: yes
also in every post there are check boxes to turn on html
AiKirika- Forumember
- Posts : 480
Reputation : 1
Language : english, german
Re: Embedding Code
i enabled html, and the checkbox is clicked so it doesn't disable html in the post.
it says "html is on" in the post, but the above code segment you can see in my first post doesn't show up properly still.
am i doing something wrong?
it says "html is on" in the post, but the above code segment you can see in my first post doesn't show up properly still.
am i doing something wrong?
doja- New Member
- Posts : 15
Reputation : 0
Language : English
Re: Embedding Code
what doesnt show up properly???
AiKirika- Forumember
- Posts : 480
Reputation : 1
Language : english, german
Re: Embedding Code
do you see the code from my first post? that is html code used for embedding a flash based music player. i cannot get it to embed on my forum.
doja- New Member
- Posts : 15
Reputation : 0
Language : English
Re: Embedding Code
Yeah, you're doing something wrong. By using the CODE tag, you're keeping the board software from executing your HTML code. Get rid of the CODE BBCode tags and the HTML code will work just fine.doja wrote:i enabled html, and the checkbox is clicked so it doesn't disable html in the post.
it says "html is on" in the post, but the above code segment you can see in my first post doesn't show up properly still.
am i doing something wrong?
Guest- Guest
Re: Embedding Code
You don't need all of that code... Use this much
- Code:
<embed src="http://listen.grooveshark.com/songWidget.swf" type="application/x-shockwave-flash" width="409" height="40" flashvars="hostname=cowbell.grooveshark.com&widgetID=14765880&style=water&p=0" allowScriptAccess="always" wmode="window"></embed>
Or... you can use [flash(width,height)] Player Url [/flash]
Here's how to make your player a bbcode flash version:
Here's how to make your player a bbcode flash version:
- Spoiler:
- Code:
[flash(409,40)]http://listen.grooveshark.com/songWidget.swf?&hostname=cowbell.grooveshark.com&widgetID=14765880&style=water&p=0[/flash]
Re: Embedding Code
Ahh RoNo you did it!
Im still trying to figure out how you did it though, when i just past what you have in the CODE section it displays as text and does not embed.
Dion im not sure what you are talking about. The code tag above was only to show the code I am working with. It is not like that on my forum.
The PlayerURL option doesn't seem to work for me because there are other parameters the flash player needs.
Im still trying to figure out how you did it though, when i just past what you have in the CODE section it displays as text and does not embed.
Dion im not sure what you are talking about. The code tag above was only to show the code I am working with. It is not like that on my forum.
The PlayerURL option doesn't seem to work for me because there are other parameters the flash player needs.
doja- New Member
- Posts : 15
Reputation : 0
Language : English
Re: Embedding Code
I combined these elements with "?" and "&"
- Code:
http://listen.grooveshark.com/songWidget.swf
?&
hostname=cowbell.grooveshark.com&widgetID=14765880&style=water&p=0
Since the issue appears to be resolved, I will lock this topic. Glad to help. RoNo |
Similar topics
» Embedding Code from Google+ Page
» code for embedding most recent forum topics into a separate website.
» Trouble embedding code into custom block/portal (problem solved)
» Need to learn about embedding
» embedding
» code for embedding most recent forum topics into a separate website.
» Trouble embedding code into custom block/portal (problem solved)
» Need to learn about embedding
» embedding
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum