2010-05-27, 04:38 PM
Tell me if there's any changes that should be made.
I really would like to figure out how to check to see if the livestream is active or not and show different messages.
Requires you to type [livestream](last part of the url here)[/livestream]
Regular expression:
Replacement:
I really would like to figure out how to check to see if the livestream is active or not and show different messages.
Requires you to type [livestream](last part of the url here)[/livestream]
Regular expression:
\[livestream\](.*?)\[/livestream\]
Replacement:
<object width="560" height="340" id="lsplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="http://cdn.livestream.com/grid/LSPlayer.swf?channel=$1l&autoPlay=false"></param><param name="allowScriptAccess" value="always"></param><param name="allowFullScreen" value="true"></param><embed name="lsplayer" wmode="transparent" src="http://cdn.livestream.com/grid/LSPlayer.swf?channel=$1&autoPlay=false" width="560" height="340" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash"></embed></object><div style="font-size: 11px;padding-top:10px;text-align:center;width:560px">Watch <a href="http://www.livestream.com/?utm_source=lsplayer&utm_medium=embed&utm_campaign=footerlinks" title="live streaming video">live streaming video</a> from <a href="http://www.livestream.com/$1?utm_source=lsplayer&utm_medium=embed&utm_campaign=footerlinks" title="none">$1</a> at livestream.com</div>