Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 24th, 2003, 11:58 AM
webwonderuk webwonderuk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Kent,UK
Posts: 6 webwonderuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Embed Video

I am building a website and require a video (mpeg) embedded onto the web page.
I have succesfully finished this but because of the time it takes to download the file, is it possible to display an image, selection of images in the background of the media player while the video is downloading?
I am using windows media player

Reply With Quote
  #2  
Old November 25th, 2003, 07:36 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
What code are you using to embed it right now?

Reply With Quote
  #3  
Old November 25th, 2003, 10:51 AM
webwonderuk webwonderuk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Kent,UK
Posts: 6 webwonderuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
width="298"
height="176"
id="MediaPlayer"
type="application/x-oleobject">
<param name="FileName" value="testmpeg.mpeg">
<param name="autostart" value="1">
<param name="showcontrols" value="0">
<param name="loop" value="1">
<embed src="testmpeg.mpeg"
width="298"
height="176"
type="application/x-mplayer2"
autostart="1"
showcontrols="0">
</embed>
</object>

Reply With Quote
  #4  
Old November 25th, 2003, 11:05 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
I think this might show what you want, edit the path & the height/width accordingly:

<object id="MediaPlayer" width=320 height=286
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<PARAM NAME="filename" VALUE="ey.mp3">
<PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true">
<param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="false">
<EMBED SRC="ey.mp3" WIDTH=320 HEIGHT=286 type="application/x-mplayer2" name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>

If not - let me know & I will try to find some more params.

Reply With Quote
  #5  
Old July 20th, 2004, 02:57 PM
jaypeesol jaypeesol is offline
Rehistradong manggagamit ...
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Cavite, Philippines
Posts: 116 jaypeesol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 22 sec
Reputation Power: 5
Send a message via ICQ to jaypeesol Send a message via AIM to jaypeesol Send a message via MSN to jaypeesol
Hi, do you think the code above will work for people with Windows Media Player 8? I have a code below, but my client, says it doesn't work. I don't have WM8 (I have WM9), so I can't test it myself.

Code:
<OBJECT ID="MediaPlayer" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width="<? print $vW; ?>" height="<? print $vH; ?>" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="<? print $VIDEO_DIR.$vFile.$EXT_WM; ?>">
<PARAM NAME="TransparentAtStart" Value="true">
<PARAM NAME="AutoStart" Value="true">
<PARAM NAME="AnimationatStart" Value="false">
<PARAM NAME="ShowControls" Value="true">
<PARAM NAME="ShowStatusBar" Value="false">
<PARAM NAME="ShowPositionControls" Value="true">
<PARAM NAME="ShowTracker" Value="true">
<PARAM NAME="autoSize" Value="false">
<PARAM NAME="displaySize" Value="0">
<Embed type="application/x-mplayer2" 
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" 
src="<? print $VIDEO_DIR.$vFile.$EXT_WM; ?>" 
Name=MediaPlayer AutoStart=1 Width=<? print $vW; ?> 
Height=<? print $vH; ?> transparentAtStart=0 
animationAtStart=0 ShowControls=1 ShowStatusBar=0 
ShowPositionControls=1 ShowTracker=1 autoSize=0 
displaySize=0></embed>
</OBJECT>


Can you help me? I need a code that embeds asf/wmv files into the web page, where the version of WM is 8.

(You may ignore the code between the <? ?> tags. They're PHP scripts, for those who doesn't know it.)
__________________
JP

Reply With Quote
  #6  
Old July 23rd, 2004, 10:12 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
I honestly am not to certain, but I think that it has to do with:
Code:
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"

But after looking at this site: http://www.dismec.unige.it/testi/fad01/wmp.html - I would think that 5,1 is version 5.1 ? My version is 9.00.00.3128 - so I do not know if that has anything to do with it.

I got that code from: http://www.streamingmedia.com/ actually a while back. I never really went back to update it but they might have a few other solutions as well

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Embed Video


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway