» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 57
0 members and 57 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
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 electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on How to add a video ? within the Nuke 6.5 to 6.9 - General forums, part of the PHP-Nuke 6.5 to 6.9 category; If all else fails. i just did this on my client's site Code: <?php if (eregi(&...


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

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 04-18-2006, 02:29 PM
Junior Member
 
Join Date: May 2005
Posts: 242
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 05:13 PM
How do u add Video Section :( shaheer Site design 1 01-26-2005 02:22 AM
Video capture cards, choosing a good card. watson Open topics 4 06-11-2003 01:29 PM


All times are GMT -5. The time now is 06:57 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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