View Full Version : I Need a Video Module!!!!
How can I get one of those.... I wish to put it at the portal.... :rolleyes: If i can do something better with it, just let me know!!! :confused:
m0nde
04-25-2005, 07:45 PM
If by a "video module" you mean you want to show video in a vbadvanced module, try this:
http://www.bostonlove.org/index.php?page=cams
I've set up an embedded object to automatically play a video file in the top module and set up IFRAMEs below to point to some online web cams.
For the video, add a template called adv_portal_video1
In that template, put the following:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] REPLACE THIS WITH THE NAME OF THIS BLOCK </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.yoururl.com/path/to/your/video.avi"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">REPLACE WITH FOOTER TEXT OR REMOVE THIS</span></td>
</tr>
</table>
<br />
Notice the various parameters of the mediaplayer object:
In this example, the video automatically starts playing and is set to play at a resolution of 320x240 pixels. Also, don't forget to place the path to your file in both places.
Now add a module and name it whatever you wish.
Add the template, (ie. video1) and add it to your page.
Cheers!
- Sid
mholtum
05-06-2005, 12:42 AM
If by a "video module" you mean you want to show video in a vbadvanced module, try this:
http://www.bostonlove.org/index.php?page=cams
I've set up an embedded object to automatically play a video file in the top module and set up IFRAMEs below to point to some online web cams.
For the video, add a template called adv_portal_video1
In that template, put the following:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] REPLACE THIS WITH THE NAME OF THIS BLOCK </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.yoururl.com/path/to/your/video.avi"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">REPLACE WITH FOOTER TEXT OR REMOVE THIS</span></td>
</tr>
</table>
<br />
Notice the various parameters of the mediaplayer object:
In this example, the video automatically starts playing and is set to play at a resolution of 320x240 pixels. Also, don't forget to place the path to your file in both places.
Now add a module and name it whatever you wish.
Add the template, (ie. video1) and add it to your page.
Cheers!
- SidI think I will pass.. ;)
There seems to have been a slight problem with the BostonLove database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
LEAD_WEIGHT
05-06-2005, 02:26 AM
I think I will pass.. ;)
There seems to have been a slight problem with the BostonLove database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
??? I seen his site & I use the same thing and do not see any problem with the site. So why mention something that is not permanent.
I did what u say, and nothing shows at all, what am I doing wrong?
mholtum
05-15-2005, 05:20 PM
??? I seen his site & I use the same thing and do not see any problem with the site. So why mention something that is not permanent.
Did you purhaps miss the ";)".. Relax.
But what templates should I include, maybe there is more to do to, at least make the module visible, I cant even c it!!
kazay
05-16-2005, 05:18 AM
Roughly how much bandwidth would a video playing takes up?
LEAD_WEIGHT
05-16-2005, 09:19 AM
But what templates should I include, maybe there is more to do to, at least make the module visible, I cant even c it!!
Admincp -> Styles and Templates -> Add template -> adv_portal_video1
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] REPLACE THIS WITH THE NAME OF THIS BLOCK </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.yoururl.com/path/to/your/video.avi"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">REPLACE WITH FOOTER TEXT OR REMOVE THIS</span></td>
</tr>
</table>
<br />
Admincp -> CMP -> Add Module ->
- Module Title : Microsoft Video Player
- Module Identifier - blank
- File to Include: - none
- Template to Include: - video1
- Activate & Save
Ok, I got it, but this is how it looks
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]VIDEOS</span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="Filename" value="<param name="FileName" value="/myvideos/guanabana.mpeg">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.mipage.com/"
name="MediaPlayer"
autostart=1
width=250
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">MiWebpage.Com</span></td>
</tr>
</table>
<br />
whats wrong with it!? Because the video doesnt want to play!
LEAD_WEIGHT
05-21-2005, 12:38 PM
Try placing exact path from your server url link.
I got this @ my site http://www.theundergroundsource.com/ but have no videos but I test it with a video link & it does work.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Musician of the Month </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.mipage.com/myvideos/guanabana.mpeg"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">MiWebpage.Com</span></td>
</tr>
</table>
<br />
Can someone help me.... please! :D
Try placing exact path from your server url link.
I got this @ my site http://www.theundergroundsource.com/ but have no videos but I test it with a video link & it does work.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Musician of the Month </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.mipage.com/myvideos/guanabana.mpeg"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">MiWebpage.Com</span></td>
</tr>
</table>
<br />
I try it, and it doesnt work, u should check urs, bcause I visit ur page and didnt want 2 work either!
Another thing Lead W.. how do u do that banner module that u have at the bottom of ur page...?
10ox37
05-23-2005, 08:58 PM
very cool. thanks.
Is there a way to make it so the video doesnt start by itself? So you have to hit the play button for it to work.
LEAD_WEIGHT
05-24-2005, 10:50 AM
very cool. thanks.
Is there a way to make it so the video doesnt start by itself? So you have to hit the play button for it to work.
Yes, a play button is on the WMP.
Another thing Lead W.. how do u do that banner module that u have at the bottom of ur page...?
Mine works, just do not have videos from bands. and as for the banner ads. I see if I can get it linked. :)
http://www.vbadvanced.com/forum/showpost.php?p=46686&postcount=3
LEAD_WEIGHT
05-24-2005, 10:56 AM
U need exact path for your videos to make it work. I only assume that this is your path. :confused:
1 : http://www.mipage.com/myvideos/guanabana.mpeg
2 : http://www.mipage.com/forums/myvideos/guanabana.mpeg
3 : or what ever it is. U can find out in your File Manager & click on where the video is exactly & it should give u a url link :D
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Musician of the Month </span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<div align="center">
<object id="MediaPlayer" width=320 height=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="path\to\your\video.avi">
<param name="autoStart" value="true">
<embed type="application/x-mplayer2" src="http://www.mipage.com/myvideos/guanabana.mpeg"
name="MediaPlayer"
autostart=1
width=320
height=240>
</embed>
</object>
</div>
</td>
</tr>
<tr>
<td class="tcat" align="center"><span class="smallfont">MiWebpage.Com</span></td>
</tr>
</table>
<br />
10ox37
05-24-2005, 02:11 PM
Yes, a play button is on the WMP.
The problem is that I dont have to hit the play button. The video starts all buy itself without me hitting the button and I dont want it to do that.
Try changing the autostart parameter from "true" to "false" (for WMP) and from 1 to 0 (for the other player)
That should do the trick. I think. :D
Good luck!
~Regs. The problem is that I dont have to hit the play button. The video starts all buy itself without me hitting the button and I dont want it to do that.
10ox37
05-24-2005, 03:01 PM
That did the trick. much thanks.
I had chenged the 1 to a 0 but it was still playing. Didnt look hard anough for the WMP setting
LEAD_WEIGHT
05-25-2005, 12:13 PM
That did the trick. much thanks.
I had chenged the 1 to a 0 but it was still playing. Didnt look hard anough for the WMP setting
http://www.w3schools.com/media/media_playerref.asp
Go here to try new versions
Ok now I dont know if this is possible, but its there a way to make this module to choose from a folder any video instead of me have to change it every other day, bcause i keep the lastest videos on the folder and it would be nice that the player choose a different one inside that specific folder!
scr2000ge
09-25-2005, 05:07 AM
^^^ hey your from brooklyn like me :)
but anyway, is there a way to insert some code into that module to make it play a random video everytime the page loads? some kind of array or something. god i wish i knew how to code :(
kevnj
01-28-2006, 11:59 PM
Works perfectly! 5 stars!
OFFSHORE DAN
06-06-2006, 10:28 PM
Thanks for this!
tienkhom
08-28-2006, 01:10 AM
How Can I disable auto star play ? Thanks for advance
tienkhom
08-28-2006, 01:27 AM
how looks path/to/your/video.avi ??? it is something like this: http://mysite.com/video.avi ???
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.