Printable Version of Topic

Click here to view this topic in its original format

Hamara Forums _ Notifications _ Esnips Bbcode

Posted by: cYb0rG Jun 17 2007, 01:36 PM

Similar to youtube for video, we can use esnips for audio files at HF.

BBCode Usage:

CODE
[esnips]flashvars[/esnips]


replace the flashvars with the code provided by esnips.

Let us take an example.

Esnips gives a member the following code to be integrated in the player on the board

QUOTE
<table bgcolor="#000000" cellpadding="0" cellspacing="0"><tr><td><embed quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#000" width="328" height="94" src="http://static.esnips.com/images/widgets/flash/esnips_player.swf" flashvars="theTheme=blue&autoPlay=no&theFile=http://www.esnips.com//nsdoc/31c3b146-d8dc-4090-9abb-0efd38c9a6b1&theName=Chandi Ka Badan Sone Ki Nazar - Taj Mahal 1963 - Mohammed Rafi, Asha Bhosle, Manna Dey & Meena Kapoor&thePlayerURL=http://static.esnips.com/images/widgets/flash/mp3WidgetPlayer.swf"></embed></td></tr><tr><td><table cellpadding="2" style="font-family:Verdana, Arial, Helvetica, sans-serif; padding-left:2px; color:#FFFFFF; text-decoration:none ; ; font-size:10px; font-weight:bold"><tr><td><a style="color:#FFFFFF; text-decoration:none " href="http://www.esnips.com/CreateWidgetAction.ns?type=0&objectid=31c3b146-d8dc-4090-9abb-0efd38c9a6b1"> Get this widget </a></td><td style="font-size:7px; font-weight:normal;">|</td><td><a align="center" style="color:#FFFFFF; text-decoration:none" href="http://www.esnips.com//selectedfile/emaildoc/31c3b146-d8dc-4090-9abb-0efd38c9a6b1"> Share </a></td><td style="font-size:7px; font-weight:normal;">|</td><td align="center"><a align="center" style="color:#FFFFFF; text-decoration:none " href="http://www.esnips.com/doc/31c3b146-d8dc-4090-9abb-0efd38c9a6b1/Chandi-Ka-Badan-Sone-Ki-Nazar---Taj-Mahal-1963---Mohammed-Rafi,-Asha-Bhosle,-Manna-Dey--Meena-Kapoor/?widget=flash_player_esnips_blue"> Track details </a></td></tr></table></td></tr></table>


select only the portion i.e the value of flashvars variable, copy (without the quotes) it and paste it replacing the flashvars as shown below.

CODE
[esnips]theTheme=blue&autoPlay=no&theFile=http://www.esnips.com//nsdoc/31c3b146-d8dc-4090-9abb-0efd38c9a6b1&theName=Chandi Ka Badan Sone Ki Nazar - Taj Mahal 1963 - Mohammed Rafi, Asha Bhosle, Manna Dey & Meena Kapoor&thePlayerURL=http://static.esnips.com/images/widgets/flash/mp3WidgetPlayer.swf[/esnips]


and what do we have?


Press the play icon on the player to play the file.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)