HOW TO
How to page: A work in progress! Thanks for everyone that has shared their ideas.
Q: How do you add a video like youtube or ustream to your blog or side bar?
A: Easy as using the sidebar TEXT widget. Under wordpress 2.5.1 do the following.
From wp-admin, DESIGN, WIDGETS, find TEXT and click ADD. You now have a
text widget listed and you can click EDIT to put in the embed code for youtube , blip.tv
or ustream.tv fAdjust the width and height to suite your side bar needs. EXAMPLE:
<pre><embed flashvars=”autoplay=false&brand=embed” width=”280″ height=”220″ allowfullscreen=”true” src=”http://www.ustream.tv/flash/live/119143″ type=”application/x-shockwave-flash” /><a href=”http://www.ustream.tv” style=”padding:2px 0px 4px;width:400px;background:#9A999A;display:block;color:#000000;font-weight:normal;font-size:10px;text-decoration:underline;text-align:center;” target=”_blank”>Video clips hosted by Ustream</a>
</pre>
Q. How can I ad advertisements?
A. Same method above to embed video’s, just be careful as wordpress often strips the <script></script> code and your ads will not show up, so a great ‘workaround’ is to use a iframe. Example:
<iframe border=”0″ scolling=”no” src=”/ads/adplacement.html”></iframe>
You must close all HTML tags or it will be stripped off, so in the example above adplacements.html contains my ad code for google adsense, its does NOT contain <html><head><title> or <body> do NOT include these in your iframe using this method.
Q: How do I embed my chat for ustream.tv but use a different IRC server?
A: Using the ustream chat client (flash based), you can modify the embed code to connect to a different server, it will take longer to connect and may result in a IO error or security warning at times, but it does work most of the time.
code : just change the server and channel name below:
<pre>
<param name="flashvars" value="bgcolor=#001100&headcolor=#001100 &channel=#i-sci-fi&server=ustream.wyldryde.org &ref=/channel/iscifitv&canHideUserList=1&" /> <embed width="100%" height="100%" name="IrcClient" align="middle" <object <param name="wmode" value="transparent" /> <param name="flashvars" value="bgcolor=#001100&headcolor=#001100 &channel=#i-sci-fi&server=ustream.wyldryde.org &ref=/channel/iscifitv&canHideUserList=1&" /> <embed flashvars="bgcolor=#001100&headcolor=#001100 &channel=#i-sci-fi&server=ustream.wyldryde.org &ref=/channel/iscifitv&canHideUserList=1&"> </embed> </object> </pre>













