Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 49
0 members and 49 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas Electric Choice

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - General

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Junior Member
 
Status: Offline
Posts: 242
Join Date: May 2005
04-18-2006, 01:29 PM

If all else fails. i just did this on my client's site

Code:
<?php
if (eregi("block-Movie.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<div align=\"center\"><object classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715,8,9,10\" type=\"application/x-oleobject\" width=\"320\" height=\"300\" standby=\"Loading Microsoft Windows Media Player components...\" id=\"MediaPlayer\">";
$content  .= "<param name=\"FileName\" value=\"PATHTO/YOURVIDEO.wmv\">";
$content  .= "<param name=\"SAMIFilename\" value=\"PATHTO/YOURVIDEO.wmv\">";
$content  .= "<param name=\"AnimationatStart\" value=\"true\">";
$content  .= "<param name=\"TransparentatStart\" value=\"true\">";
$content  .= "<param name=\"AutoStart\" value=\"true\">";
$content  .= "<param name=\"ShowControls\" value=\"1\">";
$content  .= "<param name=\"showstatusbar\" value=\"true\">";
$content  .= "<embed src=\"YourFile Here\" width=\"320\" height=\"300\" autostart=\"false\" type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba =Plugin&\" ShowControls=\"1\" filename=\"PATHTO/YOURVIDEO.wmv\" samifilename=\"PATHTO/YOURVIDEO.wmv\" animationatstart=\"true\" transparentatstart=\"true\" showstatusbar=\"true\">";
$content  .= "</embed></object></div>";
?>
Copy that code and save as block-Movie.php

Change the code above to match YOUR path to your file and also change the heights and widths to your preference.

Upload to your /blocks directory
In your Admin, under Blocks, Activate block named Movie in your block drop down list and place it where you want, Center up/Down etc.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash game and video vega Nuke 7.x - Modules 0 01-22-2006 04:13 PM
How do u add Video Section :( shaheer Site design 1 01-26-2005 01:22 AM
Video capture cards, choosing a good card. watson Open topics 4 06-11-2003 12:29 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31