PDA

View Full Version : BB Code Enhancements - Ustream live channel (bbcode)


franzes80
12-04-2012, 11:00 PM
This bbcode is for ustream live channel

Step 1
Login To AdminCP
Go To Custom BB Codes > Add New BB Code

Step 2
Now Add The Information Below

Title=Ustream BB Code
BB Code Tag Name=us
Replacement
<!-- BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2">>
</td>
</tr>
</thead>
<tr>
<td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid={param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object>
</td>
</tr>
</table>
<!-- BBCODE -->

Example
1223996
? Description = Ustream videos
? Use {option} = no
? Button Image (Optional) = images/us.gif

? http://www.ustream.tv/channel/1223996
? For embed video only add code after http://www.ustream.tv/channel/

? How to see on post 1223996

* To find the number of the channel, you must follow these steps.

Open the page of the desired channel

Menu --- Share---- Link Url = http://www.ustream.tv/channel/1223996 <-- # you need

Tested on vb 4.20 pl3 by consolehackdev.com team
DEMO (http://www.consolehackdev.com/forum/videogames/anteprime/844-segui-nintendo-direct-su-consolehackdev.html)

ringnews24
12-15-2012, 11:03 AM
Im getting this error message

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<!-- BBCODE --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2">> </td> </tr> </thead> <tr> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid={param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object> </td> </tr> </table> <!-- BBCODE -->

Mr_Running
12-15-2012, 12:07 PM
It's okay continue. :)

You may want to wrap your code in the post above by using this # in the editor :)


Also there is an extra >

<!-- BBCODE -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2">>
</td>
</tr>
</thead>

ringnews24
12-15-2012, 05:08 PM
Thanks Mr Running

Toorak Times
01-04-2013, 11:05 AM
Yeah Thanks mate. Got it working on 4.2pl3. is the frame supposed to be there with a little arrow?

hulkster
02-21-2013, 06:59 AM
I have problem

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
<!-- BBCODE --> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2">> </td> </tr> </thead> <tr> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="320"><param name="flashvars" value="autoplay=false&amp;brand=embed&amp;cid={param}"/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="movie" value="http://www.ustream.tv/flash/live/1/{param}"/><embed flashvars="autoplay=false&amp;brand=embed&amp;cid={param}" width="400" height="320" allowfullscreen="true" allowscriptaccess="always" name="utv_n_540481" src="http://www.ustream.tv/flash/live/1/{param}" type="application/x-shockwave-flash" /></object> </td> </tr> </table> <!-- BBCODE -->

Mr_Running
02-21-2013, 11:58 AM
Answered in Post #3 :)

This is important.
You may want to wrap your code in the post above by using this # in the editor

chloe101
01-05-2016, 10:07 PM
Thank you! Works great on 4.2.3