Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Closed Thread
 
Thread Tools Rating: Thread Rating: 31 votes, 3.42 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-29-2005, 01:04 PM   PM User | #226
higlhand
New to the CF scene

 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
higlhand is an unknown quantity at this point
Quote:
Originally Posted by _Aerospace_Eng_
Read post 207. It doesn't like when you mix them.
Hope I posted my question in the correct format... I'm also new to this forum or any forum for that matter
higlhand is offline  
Old 09-30-2005, 05:08 PM   PM User | #227
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
I suggest that you read this thread again carefully particularly the "brentk711" posts. You can't be mixing classids and param names. The param names for WMP6 ARE NOT the same for param names for WMP8+. There is a version already posted that works in more than Internet Explorer and has a drop down menu. If your blog doesn't allow javascript then the drop down is useless. It won't work at all.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 09-30-2005, 06:47 PM   PM User | #228
higlhand
New to the CF scene

 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
higlhand is an unknown quantity at this point
Thanks for the reply Aerospace..

I assume the Blog does allow Javascript because the drop down menu is working. It is working even though my WMP is version 10 and class id I have coded is for WMP6. But because the class id is not for WMP10 the Visualizations do not appear in the black area of the player. (This is for music only I am trying to do this for.)

I have poured through all the various examples of code you posted and have tried each one to no avail.... I specifically looked at the Brent711 post and tried each of the examples you gave for him....

So if I understand you correctly... I cant Class ID this code for WMP10 "AND" have the Visualizations too.... That's unfortunate.... I really liked the drop down menu idea but I miss not seeing my swirling lights in the black box...

If it cant be done...oh well.... Thanks anyway... I appreciate your help.

P.S.. this is the Blog that has the drop down menu. There are 2 players on that page... The top one is coded for the drop down menu...the one under that just points to a single URL on the "Archive.org" site where I have a voice recording archived... In the bottom one you can see the lights as the recording plays... http://dancinforyou.blogspot.com/
higlhand is offline  
Old 09-30-2005, 07:44 PM   PM User | #229
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Here. The visualizations will only work in IE. They won't work in Firefox so don't even ask.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
body {
text-align:center;
}
</style>
<script type="text/javascript">
function PlayIt(what){
player.document.getElementById('music').innerHTML='<object width="300" height="300" '
      +'classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" '
      +'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="url" value="'+what+'">'
      +'<param name="uiMode" value="full">'
      +'<param name="autoStart" value="true">'
      +'<param name="loop" value="true">'
      +'<embed type="application/x-mplayer2" '
      +'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" '
      +'showcontrols="true" uimode="full" width="300" height="45" '
      +'src="'+what+'" autostart="true" loop="true">'
+'</object>';
}
</script>
</head>

<body>
<select name="player" onchange="PlayIt(this.value)">
<option value="none">::Choose a Song::</option>
<option value="http://home.austin.rr.com/fairpoolerz/switchfoot.mp3">Song 1</option>
<option value="http://urltosong2.mp3">Song 2</option>
<option value="http://urltosong3.mp3">Song 3</option>
<option value="http://urltosong4.mp3">Song 4</option>
<option value="http://urltosong5.mp3">Song 5</option>
</select><br>
<div id="music">
<object width="300" height="300" 
      classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" 
      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="url" value="">
      <param name="uiMode" value="full">
      <param name="autoStart" value="true">
      <param name="loop" value="true">
      <embed type="application/x-mplayer2" 
      pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" 
      showcontrols="true" uimode="full" width="300" height="45" 
      src="" autostart="true" loop="true">
</object>
</div>
</html>
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 09-30-2005, 11:46 PM   PM User | #230
masterc246
New to the CF scene

 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
masterc246 is an unknown quantity at this point
simple Windows Media Embedding Code

Hello All,

I found this simple yet very useful Windows Media Embedding code. I've used it for many of my listings for my real estate business.


<EMBED SRC="http://YOUR Site Link Here.wmv" AUTOSTART=FALSE>



here's a sample;

<EMBED SRC="http://boss.streamos.com/wmedia/remaxsat/promos/winshi.asx AUTOSTART=FALSE>


Hopefully this helps someone. Let me know if it does work for you.

dennisrealtor@yahoo.com
masterc246 is offline  
Old 10-01-2005, 12:53 AM   PM User | #231
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Without declaring the plugins for Firefox it will prompt you to download the proper plugin. Quicktime will be the plugin that Firefox tries to download.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 10-04-2005, 10:55 PM   PM User | #232
higlhand
New to the CF scene

 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
higlhand is an unknown quantity at this point
Aerospace...Thanks so much for your help.. What you gave me really did the trick.... I appreciate all you help and patience.... My appologies for PM....
higlhand is offline  
Old 10-05-2005, 04:32 AM   PM User | #233
{PAR} Sector A
New to the CF scene

 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
{PAR} Sector A is an unknown quantity at this point
Hello, Aerospace

I've been following this topic for a while now and I was wondering if it was possible to have this work across frames so for example if the links were in one frame and the player was in another above it obviously being of two different pages.
{PAR} Sector A is offline  
Old 10-05-2005, 05:26 AM   PM User | #234
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Quote:
Originally Posted by {PAR} Sector A
Hello, Aerospace

I've been following this topic for a while now and I was wondering if it was possible to have this work across frames so for example if the links were in one frame and the player was in another above it obviously being of two different pages.
Refer to the "TinmanIII" posts. The script is really similar the only difference is your using frames he used an iframe.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 10-05-2005, 06:57 PM   PM User | #235
midasone
New to the CF scene

 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
midasone is an unknown quantity at this point
I don't know whether this is relevant, but can someone please advise me on how to decrease the width of the drop-down menu.

Coding is as follows, so far:

<br>
<div align=right>
<SELECT id=cancion onchange=document.all.music.filename=document.all.cancion.value; size=1 name=Music>
<OPTION selected>---Songs While You Browse---<OPTION>

<OPTION value=> -List of tracks- </OPTION>
<option value=></option>

<option value=song1</option>

<option value=song2</option>

<option value=song3</option>

</SELECT><BR>
<table border=1]<tr><td><object id=music height=43 width=180 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95>

<PARAM NAME="AutoStart" VALUE="-1">
<PARAM NAME="Balance" VALUE="0">
<PARAM NAME="DisplaySize" VALUE="1">
<PARAM NAME="Filename" VALUE="">
<PARAM NAME="Mute" VALUE="0">
<PARAM NAME="SelectionStart" VALUE="-1">
<PARAM NAME="SelectionEnd" VALUE="-1">
<PARAM NAME="ShowControls" VALUE="-1">
<PARAM NAME="ShowAudioControls" VALUE="-1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="-1">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="AudioStream" VALUE="-1">
<PARAM NAME="AutoSize" VALUE="0">
<PARAM NAME="AnimationAtStart" VALUE="-1">
<PARAM NAME="AllowScan" VALUE="-1">
<PARAM NAME="AllowChangeDisplaySize" VALUE="-1">
<PARAM NAME="AutoRewind" VALUE="1">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="BufferingTime" VALUE="5">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="ClickToPlay" VALUE="-1">
<PARAM NAME="CursorType" VALUE="0">
<PARAM NAME="CurrentPosition" VALUE="-1">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayBackColor" VALUE="0">
<PARAM NAME="DisplayForeColor" VALUE="16777215">
<PARAM NAME="DisplayMode" VALUE="0">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="EnableContextMenu" VALUE="-1">
<PARAM NAME="EnablePositionControls" VALUE="-1">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="EnableTracker" VALUE="-1">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="Language" VALUE="-1">
<PARAM NAME="PlayCount" VALUE="100">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="-1">
<PARAM NAME="SendWarningEvents" VALUE="-1">
<PARAM NAME="SendErrorEvents" VALUE="-1">
<PARAM NAME="SendKeyboardEvents" VALUE="0">
<PARAM NAME="SendMouseClickEvents" VALUE="0">
<PARAM NAME="SendMouseMoveEvents" VALUE="0">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="-1">
<PARAM NAME="ShowCaptioning" VALUE="0">
<PARAM NAME="ShowGotoBar" VALUE=0">
<PARAM NAME="ShowStatusBar" VALUE="0">
<PARAM NAME="ShowTracker" VALUE="-1">
<PARAM NAME="TransparentAtStart" VALUE="-1">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="WindowlessVideo" VALUE="0">
</object></td></tr></table>
</div>
midasone is offline  
Old 10-05-2005, 08:01 PM   PM User | #236
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
It would help to actually code correctly. Invalid coding is the root of where your problem starts.
This
Code:
<br>
<div align=right>
<SELECT id=cancion onchange=document.all.music.filename=document.all.cancion.value; size=1 name=Music>
<OPTION selected>---Songs While You Browse---<OPTION>

<OPTION value=> -List of tracks- </OPTION>
<option value=></option>

<option value=song1</option>

<option value=song2</option>

<option value=song3</option>

</SELECT><BR>
<table border=1]<tr><td>
Should look something along the lines of this
Code:
<br>
<div align="right">
<select id="cancion" onchange="document.all.music.filename=document.all.cancion.value;" size="1" name="Music">
<option value="" selected>---Songs While You Browse---<OPTION>

<option value=""> -List of tracks- </option>
<option value=""></option>

<option value="song1"</option>

<option value="song2"></option>

<option value="song3"></option>

</select><br>
<table border="1"><tr><td>
The select menu will be as long as the longest option in it. Note: the code you are using for the player will only work in Internet Explorer. If you want it to work in other browsers then I suggest you actually look for the code that works in the other browsers to. I don't have time to point it out to you. There is a search feature for a reason.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 10-05-2005, 08:13 PM   PM User | #237
midasone
New to the CF scene

 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
midasone is an unknown quantity at this point
Okay, thanks for your help.

Aside from the fact that I started this about two days ago; I have absolutely no experience in coding whatsoever.
Any other hints you could offer me?
midasone is offline  
Old 10-05-2005, 11:53 PM   PM User | #238
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Get the basics down first until you start trying to do media. http://www.w3schools.com and www.htmldog.com are good places to learn html. Don't try to take on more than you can handle.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Old 10-09-2005, 03:50 AM   PM User | #239
yutsuko1983
New to the CF scene

 
Join Date: Oct 2005
Location: Singapore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
yutsuko1983 is an unknown quantity at this point
How to create embedded media player

I got the code from one of the post..but I want to make editing. How to activate the next song button?
yutsuko1983 is offline  
Old 10-09-2005, 05:26 PM   PM User | #240
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Which code are you using?
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline  
Closed Thread

Bookmarks

Jump To Top of Thread


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

Forum Jump


All times are GMT +1. The time now is 03:13 AM.


Advertisement
Log in to turn off these ads.