#16 (permalink)  
Old 07-01-2004, 02:06 AM
Perri29's Avatar
Registered User
 
Join Date: Jun 2004
Location: US
Posts: 27
Send a message via Yahoo to Perri29
Working example...

Try this link for a working example of the posted code...

http://help.javalotjive.com/media9_example.html

There's only two tracks but that's enough to get the point across. Just toggle toward the end of the track if you can't stand the selections and the next track will start...
__________________
"Just another freak in the freak kingdom." H.S. Thompson

PR (www.site418.com)
Reply With Quote
  #17 (permalink)  
Old 07-25-2004, 12:43 PM
Perri29's Avatar
Registered User
 
Join Date: Jun 2004
Location: US
Posts: 27
Send a message via Yahoo to Perri29
Example URL has changed

The example of the working media player has temporarily changed to:

http://exeter.mdmscaffolding.com/msc...9_example.html
__________________
"Just another freak in the freak kingdom." H.S. Thompson

PR (www.site418.com)
Reply With Quote
  #18 (permalink)  
Old 10-31-2004, 03:10 PM
Perri29's Avatar
Registered User
 
Join Date: Jun 2004
Location: US
Posts: 27
Send a message via Yahoo to Perri29
Issue with the asx files

I've discovered an interesting twist to creating the .asx files.

If one should used Media Player to create their .asx or .m3u file for a playlist the playlist pulls from where ever the files are stored on a person's hard drive.

Once all the files are uploaded to a server if they are not placed exactly as they were on the hard drive the player will not operate.

Of course the .asx or .m3u file can be manually altered to match the way one has uploaded and stored them on their server.

Editing an .asx or .m3u appears to onlybe possible in Notepad. My Html editor won't take the file.
__________________
"Just another freak in the freak kingdom." H.S. Thompson

PR (www.site418.com)
Reply With Quote
  #19 (permalink)  
Old 11-14-2004, 08:38 AM
devTekPro's Avatar
Registered User
 
Join Date: Nov 2004
Location: Seattle, WA - USA
Posts: 2
Lightbulb Cross-Browser Compatibility

FYI - this code works fine, but only in IE. The <embed> tag needs to be added so that it becomes cross-browser functional - even though I have worked on the Microsoft Campus in Redmond not everyone in the world uses IE, so in creating good web design you should make the pages as cross-browser compatible as possible.

Yes, I know the W3C does not validate the <embed> tag, but until we can get some kind of standard between the browsers this tag is needed so the player appears in gecko-based browsers.

At the very least, add an optional way for the viewer to access the files you have placed for viewing, or bluntly tell them they need to be using IE - though I gaurantee you that you will lose viewers that way

The only reason I mention this is that I use FireFox 1.0 for most of my development and when I checked out your example I saw nothing - until I revisited the page with IE.

And to create the .asx file you would need to type it in when you are naming the file to save (i.e., yourfilename.asx) then click save.

For those of you using Dreamweaver here is a concise example with all the code:

http://www.macromedia.com/support/dr...ediaplayer.htm

The example shows how to use Dreamweaver to place the code in your documents, but the code is valid to use in any editor.

just my two cents........

Last edited by devTekPro; 11-14-2004 at 09:03 AM.
Reply With Quote
  #20 (permalink)  
Old 11-14-2004, 09:11 AM
devTekPro's Avatar
Registered User
 
Join Date: Nov 2004
Location: Seattle, WA - USA
Posts: 2
Different versions of Media player

mrmckoy-
Quote:
Can I include more then one CLassID in the <object> embed? I have the clasid ID for windows Media player 9 included in a website but not 7.1. However MACs run media player 7.1 and I can't get it to play there. Any ideas?
use a simple detection script to see what os is being used then supply the proper code.

For example, if the script detects a MacOS then have the script render the proper clsid for Media Player 7.1 - make sense?
Reply With Quote
  #21 (permalink)  
Old 11-18-2004, 11:29 PM
Perri29's Avatar
Registered User
 
Join Date: Jun 2004
Location: US
Posts: 27
Send a message via Yahoo to Perri29
Re: Cross-Browser Compatibility

Thanks for the suggestion.
Of course not everyone used IE. I'll offer the alternative as well in my example.

I appreciate the constructive feedback. Refreshing to get an intelligent piece of feedback rather than an angry rant like I've seen in other forums.

Quote:
Originally posted by devTekPro
FYI - this code works fine, but only in IE. The <embed> tag needs to be added so that it becomes cross-browser functional - even though I have worked on the Microsoft Campus in Redmond not everyone in the world uses IE, so in creating good web design you should make the pages as cross-browser compatible as possible.

Yes, I know the W3C does not validate the <embed> tag, but until we can get some kind of standard between the browsers this tag is needed so the player appears in gecko-based browsers.

At the very least, add an optional way for the viewer to access the files you have placed for viewing, or bluntly tell them they need to be using IE - though I gaurantee you that you will lose viewers that way

The only reason I mention this is that I use FireFox 1.0 for most of my development and when I checked out your example I saw nothing - until I revisited the page with IE.

And to create the .asx file you would need to type it in when you are naming the file to save (i.e., yourfilename.asx) then click save.

For those of you using Dreamweaver here is a concise example with all the code:

http://www.macromedia.com/support/dr...ediaplayer.htm

The example shows how to use Dreamweaver to place the code in your documents, but the code is valid to use in any editor.

just my two cents........
__________________
"Just another freak in the freak kingdom." H.S. Thompson

PR (www.site418.com)
Reply With Quote
  #22 (permalink)  
Old 11-28-2004, 03:19 AM
mista_sage's Avatar
Registered User
 
Join Date: Nov 2004
Location: denva, co.
Posts: 1
Send a message via AIM to mista_sage Send a message via Yahoo to mista_sage
visualization

how do i show the visiulization if i embeded a player?
what's the param name?

please email me: bilegt@arslanstudios.com
thnx
Reply With Quote
  #23 (permalink)  
Old 12-15-2004, 07:14 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thumbs up Thank you Robert!

Robert, Thank you so much! I have been fighting with getting windows media embedded for so long, and your posting helped me get it done! THANK YOU!!!!!!!!!




Quote:
Originally Posted by Robert
This is the Java script i use to put Windows Media Player on my webiste which I am in the process of making I'd imagine this would be the easiest type to use. Just put the video names in the sections were I've put "ENTER FILE NAME HERE"

<!--- START CONTENT --->

<!--- else NOT sponsored --->
<div style="margin:14px; font-size:16px; color:"black" align="center">
<b>ENTER FILE NAME HERE(THIS WILL BE YOUR TITLE OF VIDEO).wmv</b></div><br>
<object id="MediaPlayer1"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft Windows Media Player components...">
<param name="Filename" value="ENTER FILE NAME HERE.wmv">
<param name="AnimationAtStart" value="true">
<param name="TransparentAtStart" value="false">
<param name="ShowControls" value="true">
<param name="PlayCount" value="true">
<embed width="320" height="285" src="ENTER FILE NAME HERE.wmv" controller=true autoplay=true playeveryframe=false pluginspage="plugin.html">
</object>
<br><br>

<!--- END CONTENT --->
Reply With Quote
  #24 (permalink)  
Old 12-16-2004, 10:58 PM
Registered User
 
Join Date: Sep 2003
Posts: 94
Send a message via AIM to seccondbest Send a message via Yahoo to seccondbest
note pad

actualy i wrote a playlist for videos to play in media player
and i wrote it in notepad and than saved it.
together with 2 .js files that i wrote i can now play any video (mpeg) on my website

the user can choose to play all files in order OR he/she can pick one out of the playlist all of this on the SAME web page

I have the original script and changed it so i can use it for MPG files but it is very easy to change it into WMV or MP3 aswell.

If any one wants this script let me know i can post it here, but as i have learned it is more fun to do a search and find it.
__________________
Im learning, but i still need help.
Reply With Quote
  #25 (permalink)  
Old 09-05-2007, 09:49 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
could you post it for me?

I'd love to see the code you used to have the embedded media player play any file that is selected by the user.

Could you post it for me?

Thanks.

Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 12:21 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter