Go to Post We were trying to show that publishing designs increased the quality of every team and was especially helpful to new teams. - N7UJJ [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-08-2004, 15:58
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,508
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
How to embed Windows media player in web page?

I want to embed an avi file to play in WM automatically on a web page. How do I do this? Thanks
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #2   Spotlight this post!  
Unread 01-08-2004, 16:18
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: How to embed Windows media player in web page?

There is a way, but it's a little tricky.

Here's a sample from a website:
Code:
<object id="MediaPlayer2" width="400" height="50" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
    A lot of param tags here...
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="YOUR FILE HERE" name="MediaPlayer2" showpositioncontrols="0" showstatusbar="1" volume="-1" width="400" height="46">
    </embed>
</object>
Try the Windows Media Player SDK (here) in MSDN for more info.
  #3   Spotlight this post!  
Unread 01-08-2004, 19:08
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,508
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: How to embed Windows media player in web page?

I found this but I don't want those buttons and I want it to start playing automatically. I've never done anything like this before and am not too familiar with the coding. If someone could provide me all the exact code needed (minus the exact url of my video) to make this work it would be greatly appreciated. Thanks.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 01-08-2004, 19:28
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Re: How to embed Windows media player in web page?

Quote:
Originally Posted by sanddrag
I want to embed an avi file to play in WM automatically on a web page. How do I do this? Thanks
First ask yourself a few questions. Why do you want the file to play automatically? Downloading and playing large files like this can be a significant strain on slower connections, -- so to be courteous, it seems you should let the page load, describe the file and give the user the *option* of downloading the file. And why do you want the file to play in Windows Media Player? Some people might have other preferences as to media players, and some might not even have Windows Media Player, or, for that matter, Windows, -- so, again, to be courteous, it seems you should give the user the *option* of choosing his preference of players.

(And incidentally, the page you link to shows how to hide the controls. So far as having it autostart, I don't know if there's a multi-browser compatible way to do this -- a few sites said Netscape always gave the user the option of starting it.)
  #5   Spotlight this post!  
Unread 01-08-2004, 21:16
Steve Howland Steve Howland is offline
Many years, many teams
FRC #2473 (Goldstrikers)
Team Role: Engineer
 
Join Date: Mar 2004
Rookie Year: 2003
Location: Mountain View, CA
Posts: 763
Steve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond reputeSteve Howland has a reputation beyond repute
Re: How to embed Windows media player in web page?

I agree that it may not be a great idea to have it download the video automatically for the site but if it is small enough then maybe. However, if you wish to do this then I suggest you go here and follow the instructions about "AUTOSTART." Hope this helps!
  #6   Spotlight this post!  
Unread 01-08-2004, 21:21
D.J. Fluck
 
Posts: n/a
Re: How to embed Windows media player in web page?

Quote:
Originally Posted by mtrawls
First ask yourself a few questions. Why do you want the file to play automatically? Downloading and playing large files like this can be a significant strain on slower connections, -- so to be courteous, it seems you should let the page load, describe the file and give the user the *option* of downloading the file. And why do you want the file to play in Windows Media Player? Some people might have other preferences as to media players, and some might not even have Windows Media Player, or, for that matter, Windows, -- so, again, to be courteous, it seems you should give the user the *option* of choosing his preference of players.

I'd find out what the page is before going off questioning that....

If its a splash page at the beginning, you could always give a warning saying the video size and put a link to skip over it....


If its on a large page with a lot of content, I agree with Mtrawls and maybe give the viewers the option to start the movie as you please, or a link to even download it to their machine (depending on what its for)
Closed Thread


Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Media player problem ebmonon36 Chit-Chat 2 04-03-2004 18:04
A web page class in converting from PBasic to C JimWright949 Programming 1 21-09-2003 19:54
an error in SoCal event result in the FIRST web page archiver 2001 0 24-06-2002 02:35
What happend to the FIRST team web page directory? archiver 2001 1 24-06-2002 01:21
Video Compressions for web stevek 3D Animation and Competition 2 01-05-2002 23:24


All times are GMT -5. The time now is 10:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi