![]() |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 />
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
|
||||
|
||||
|
Quote:
![]() 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
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
I did what u say, and nothing shows at all, what am I doing wrong?
|
|
#6
|
||||
|
||||
|
Quote:
".. Relax.
|
|
#7
|
|||
|
|||
|
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
|
|||
|
|||
|
Roughly how much bandwidth would a video playing takes up?
|
|
#9
|
||||
|
||||
|
Quote:
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
|
|||
|
|||
|
Ok, I got it, but this is how it looks
Quote:
|
|
#11
|
||||
|
||||
|
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
|
|||
|
|||
|
Can someone help me.... please!
|
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
|||
|
|||
|
Another thing Lead W.. how do u do that banner module that u have at the bottom of ur page...?
|
|
#15
|
|||
|
|||
|
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
|
||||
|
||||
|
Quote:
Quote:
![]() 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
|
||||
|
||||
|
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
|
|||
|
|||
|
Quote:
|
|
#19
|
|||
|
|||
|
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:
|
|
#20
|
|||
|
|||
|
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 | |
|
|