TinyPortal
Development => Block Codes => Topic started by: tumbleweed on September 13, 2006, 07:14:12 AM
well i embeded a video player within a block.
2 intersting things are this:
#1 If you place the block on the right hand side of the forum it causes the credit links to go away at the bottom of the page. This really bugs me so i hope we can fix it.
Example#1 url= http://www.gotcanyons.net/gc/index.php
#2 If you place the block on the left hand side of the page the forums just go away. sorry no url for that one.
Here is the code in the block:
<div align="center">
<object id='mediaPlayer2' width="150" height="160" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name='fileName' value="http://www.gotcanyons.net/vid/drivefast.wmv">
<param name='transparentatStart' value='true'>
<param name='autoStart' value="True">
<param name='showControls' value="false">
<param name='loop' value="True">
<param name="ShowStatusBar" value="false">
<embed type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="False" showtracker='-1'
showdisplay='0' showstatusbar='0' width="150" height="180"
src="http://www.gotcanyons.net/vid/drivefast.wmv" autostart="True" loop="True"> </embed>
any help is greatly appreciated
did u have try to delete <div align="center"> ?
ya, or add in </div>. u forgot to close it
Works perfect now. Bottom links have returned as well as the RSS pop up features.
OK i took away all the code and just put this code in:
<center>
<embed width="170" height="180" autostart="0" controltype="1" showcontrols="1" src="http://www.site.com/video.wmv">
</embed></center>
Of course that code was found in this url
http://www.tinyportal.net/smf/index.php?topic=3328.0