SoftwareTipsandTricks Forum

Go Back   SoftwareTipsandTricks Forum > Software > Software Problems and Useful Utilities
User Name
Password


Window Media 9 need to play multiple videos in same player.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes

  #1  
Old 08-26-2004, 10:51 PM
TheVoice Offline
Junior Member
 
Join Date: Aug 2004
Posts: 2
Window Media 9 need to play multiple videos in same player.

Hi there

Maybe someone can help me with this.

I have a video room on my websoite for visitors to view various music videos. There's a list of music video files to choose from.

Can you tell me how to have the file they click on play in the player on my website.

The way it is now when they hit my site a video starts playing, however if they click on one of the other video links it opens in another windows media player or aol player.

I want to force it to cut off the current playing video and then load the new one they selected.

the page is located at http://www.mauricewatts.com/video.html

Thanks I can be reached at Voice903fm@aol.com
Reply With Quote

  #2  
Old 08-27-2004, 01:28 AM
LooseChippings's Avatar
LooseChippings Offline
Registered User
 
Join Date: Apr 2003
Location: Conisbrough, Yorkshire. England
Posts: 2,437
Send a message via Yahoo to LooseChippings
This may sound stupid but why have the video player embedded in the web page?

What happens if multiple visitors all go onto your page at the same time?

The easiest option is to have the video as a link to open in the visitors own media player.
__________________
Learn from other peoples mistakes not your own.
Reply With Quote

  #3  
Old 08-27-2004, 07:32 AM
TheVoice Offline
Junior Member
 
Join Date: Aug 2004
Posts: 2
Why embed the player.....

The reason for the player being embeded is I want to create a movie theater effect in the room. So that when they hit the page the large screen is playing and then they can play another video of their choice. Without leaving the page. I really wantend to have a player on my site that will play a list of videos of my choice. Like a playlist. But STILL I want them all to play in the same player not new opened players.

Any suggestions will taken.
Reply With Quote

  #4  
Old 08-27-2004, 04:08 PM
LooseChippings's Avatar
LooseChippings Offline
Registered User
 
Join Date: Apr 2003
Location: Conisbrough, Yorkshire. England
Posts: 2,437
Send a message via Yahoo to LooseChippings
TheVoice

When someone enters your site they have no choice but to view a video, at the moment the default video is Teena Marie - "A Rose By Any Other Name".

On my connection it takes around 10 seconds to stream the video, this equates to about 1 to 2 MB (I have a 1.5 Mb cable connection), on a good dialup connection it will take around 5 to 8 minutes to stream the video.

Result is one visitor who goes elsewhere.

If you remove the automatic Windows Media Player the first page will load a lot lot faster which means that the casual visitor is more likely to explore your site
__________________
Learn from other peoples mistakes not your own.
Reply With Quote

  #5  
Old 08-08-2005, 01:49 AM
cdrbond007 Offline
Registered User
 
Join Date: Aug 2005
Posts: 1
I was actually wondering how to do the exact same thing he speaks of, can anyone help me? I have been looking for any tutorials or explanations on how to do this but have been unsuccessful. I know it can be done because I have seen a website that did exactly that.

My project is just an offline page so loading times are not an issue. Basically what I want to do is have a page split in half with two frames; one with a list of videos, and the other with an embedded windows media player. When you click on a video it plays in the player. Sounds simple, but I know it is probably not!
Reply With Quote

  #6  
Old 08-30-2005, 04:23 AM
zero.exe Offline
Registered User
 
Join Date: Aug 2005
Posts: 1
Wow this thread is really old, but I want what the OP asked for too!

I have a set of small video clips, a media player in the bottom corner and I want it so that when a user clicks on the clip, it loads in that media player, not a new one or pop up one.

So a user can flick through with out heaps of new windows or reloading pages of media players, if anyone could help that would be great.
Reply With Quote

  #7  
Old 07-07-2006, 06:24 AM
lucky4ever Offline
Registered User
 
Join Date: Jul 2006
Posts: 1
How to play multiple media files in embedded player

Hello all I have searched high and low to find this answer, and have been to many blogs. I have tested tons of code. Even after all efforts no luck. Well I have found the answer! I intend to go to all blogs and post it too. This question will baffle people no more!

Here goes...

After some searching and a lot of testing... Here's how I coded the embedded Media Player 9 to play more than one file in succession:

One of two files need to be created: either an ".asx" or a ".m3u" file. These files are
created through the Media Player itself.

First create a "playlist" of ".mp3" files that you want to play on the web page:

1. Choose "new playlist" in the media player tool bar

2. Name it, then begin selecting ".mp3" files or video files from the media library

3. Place these files in the "new playlist" you just created.

4. Once you have all the files you want in the playlist:

5. Select your playlist (highlight it)

6. Go to "file" in the media tool bar

7. Choose "save playlist as"

8. In the window that opens you will create your ".asx" or ".m3u" file

9. Name it

10. In the "save as type" box use the drop down menu to choose the file type

**You can choose either ".m3u", "any (.asx, .m3u, or .wpl)"
(I chose to use the .asx format because it just works easier. By choosing "any" it seems to only save your file in the ".wpl" format, which did not appear to be applicable to the embedded
player code according to all the information I could gather in my searches).


Now that you have created your ".asx" or ".m3u" file:

11. Upload this file and all ".mp3" files associated with it (what's in your playlist) to your server.

The code for the embedded player, using these playlist files is as follows:

<OBJECT ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="300" height="120"
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">
<PARAM NAME="fileName" VALUE="http://myserver.com/New Playlist.m3u">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="true">
<PARAM NAME="loop" VALUE="true">
</OBJECT>

Of course you'll need to adjust the width and height if you'll be using this to play videos; at the current settings listed above only the player controls and track info will be visible.

Well that's it friends. Feel free to embed, and play any media file associated with windows media player.
I hope this proves useful to people.

Pax vobiscum,
lucky4ever
Reply With Quote

  #8  
Old 07-11-2006, 10:13 AM
Steven2017 Offline
Registered User
 
Join Date: Jul 2006
Posts: 4
You could also take a small clip from the video you want to display. Then take that clip put it on your website make the clip as a hyperlink to the full video.
Reply With Quote
Reply




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows media player unable to play all the .dat files ???? patelashish Software Problems and Useful Utilities 4 09-14-2007 02:38 AM
Windows Media Player cannot play the video stream because of a problem with your vide nivek Windows XP 1 09-28-2004 11:34 AM
Window Media Player 9 TTom Software Problems and Useful Utilities 1 04-01-2004 05:31 PM
Make Media Player 9 play files on a CD knight_dark Windows 95/98/ME 0 04-01-2004 03:24 AM
Window Media Player MasterNe0 Windows XP 0 09-12-2003 09:37 PM



All times are GMT -5. The time now is 11:44 AM.


Designed by eXtremepixels. Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.