javascript in posts (for specific forum)
#1
I was wondering if it's possible to enable javascript code in a specific forum (just like how html can be enabled). Reason is I'd like to be able to post streaming videos within a specific forum category. The code for the player looks like this:

<p id='preview'>The player will show in this paragraph</p>

<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video.flv');
s1.write('preview');
</script>

Is this possible?
Reply


Messages In This Thread
javascript in posts (for specific forum) - by zoog - 02-07-2009, 06:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)