Hello.
I was hoping someone could help me with a custom BBCode that I'm having some trouble with.
I've read the
instructions on how to implement custom BBCode, and I've looked at the common BBCode examples like youtube and align, but I've got a particularly difficult example I'm working on myself and I was hoping someone could help me with it, and in the process, I'll better learn how to do this myself next time.
The custom code comes from Prezi.com. Prezi is an online presentation application that puts powerpoint to shame.
Here's the code...
Code: Select all
<div class="prezi-player"><style type="text/css" media="screen">.prezi-player { width: 550px; } .prezi-player-links { text-align: center; }</style><object id="prezi_ueonw6hvqirk" name="prezi_ueonw6hvqirk" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400"><param name="movie" value="http://prezi.com/bin/preziloader.swf"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="bgcolor" value="#ffffff"/><param name="flashvars" value="prezi_id=ueonw6hvqirk&lock_to_path=0&color=ffffff&autoplay=no&autohide_ctrls=0"/><embed id="preziEmbed_ueonw6hvqirk" name="preziEmbed_ueonw6hvqirk" src="http://prezi.com/bin/preziloader.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="550" height="400" bgcolor="#ffffff" flashvars="prezi_id=ueonw6hvqirk&lock_to_path=0&color=ffffff&autoplay=no&autohide_ctrls=0"></embed></object><div class="prezi-player-links"><p><a title="DINFOS
December 13
Team A" href="http://prezi.com/ueonw6hvqirk/dvd-authoring/">DVD Authoring</a> on <a href="http://prezi.com">Prezi</a></p></div></div>
I'm having a hard time figuring out what are the tokens. I'm pretty sure the id=prezi_ueonw6hvqirk is one of them, but then there is also embed_id=preziEmbed_ueonw6hvqirk. Can't I dumb it down even farther to just one token being ueonw6hvqirk? Also, what do I do with that html stuff at the end of the code? Are there two strings and one URL I need to tokenize?
I would just really appreciate seeing how the best way to do this would be. And I really feel like if I can see this example properly implemented, I will be able to grasp this. Thanks a lot.