vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #1  
Old 04-24-2005, 01:35 PM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Arrow I Need a Video Module!!!!

How can I get one of those.... I wish to put it at the portal.... If i can do something better with it, just let me know!!!
  #2  
Old 04-25-2005, 06:45 PM
m0nde m0nde is offline
Junior Member
 
Join Date: Mar 2005
Posts: 17
Smile Re: I Need a Video Module!!!!

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:

Code:
<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

Last edited by m0nde; 04-25-2005 at 06:47 PM.
  #3  
Old 05-05-2005, 11:42 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by m0nde
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:

Code:
<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
I think I will pass..
Code:
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.
  #4  
Old 05-06-2005, 01:26 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by mholtum
I think I will pass..
Code:
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.
  #5  
Old 05-15-2005, 03:58 PM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

I did what u say, and nothing shows at all, what am I doing wrong?
  #6  
Old 05-15-2005, 04:20 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by LEAD_WEIGHT
??? 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.
  #7  
Old 05-15-2005, 04:57 PM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

But what templates should I include, maybe there is more to do to, at least make the module visible, I cant even c it!!
  #8  
Old 05-16-2005, 04:18 AM
kazay kazay is offline
Junior Member
 
Join Date: May 2005
Posts: 5
Default Re: I Need a Video Module!!!!

Roughly how much bandwidth would a video playing takes up?
  #9  
Old 05-16-2005, 08:19 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by fLoW
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

Code:
<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
  #10  
Old 05-21-2005, 08:30 AM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

Ok, I got it, but this is how it looks

Quote:
<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!
  #11  
Old 05-21-2005, 11:38 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: I Need a Video Module!!!!

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.

Code:
<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 />

Last edited by LEAD_WEIGHT; 05-21-2005 at 11:43 AM.
  #12  
Old 05-21-2005, 04:30 PM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

Can someone help me.... please!
  #13  
Old 05-22-2005, 07:59 AM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by LEAD_WEIGHT
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.

Code:
<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!
  #14  
Old 05-22-2005, 08:04 AM
fLoW fLoW is offline
Member
 
Join Date: Apr 2005
Location: Brooklyn,NY
Posts: 75
Default Re: I Need a Video Module!!!!

Another thing Lead W.. how do u do that banner module that u have at the bottom of ur page...?
  #15  
Old 05-23-2005, 07:58 PM
10ox37 10ox37 is offline
Junior Member
 
Join Date: May 2005
Posts: 3
Default Re: I Need a Video Module!!!!

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.
  #16  
Old 05-24-2005, 09:50 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by 10ox37
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.


Quote:
Originally Posted by fLoW
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.

Code:
http://www.vbadvanced.com/forum/showpost.php?p=46686&postcount=3

Last edited by LEAD_WEIGHT; 05-24-2005 at 10:13 AM.
  #17  
Old 05-24-2005, 09:56 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: I Need a Video Module!!!!

U need exact path for your videos to make it work. I only assume that this is your path.

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


Code:
<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 />

Last edited by LEAD_WEIGHT; 05-24-2005 at 09:59 AM.
  #18  
Old 05-24-2005, 01:11 PM
10ox37 10ox37 is offline
Junior Member
 
Join Date: May 2005
Posts: 3
Default Re: I Need a Video Module!!!!

Quote:
Originally Posted by LEAD_WEIGHT
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.
  #19  
Old 05-24-2005, 01:26 PM
Regs Regs is offline
Member
 
Join Date: Mar 2004
Posts: 36
Default Re: I Need a Video Module!!!!

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.

Good luck!

~Regs.
Quote:
Originally Posted by 10ox37
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.
  #20  
Old 05-24-2005, 02:01 PM
10ox37 10ox37 is offline
Junior Member
 
Join Date: May 2005
Posts: 3
Default Re: I Need a Video Module!!!!

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
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:56 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.