+ Reply to Thread
Results 1 to 9 of 9

Thread: Media Player on Webpage Help

  1. #1
    Full Member SavannahSilkie is on a distinguished road
    Join Date
    Jul 2004
    Location
    Savannah, GA
    Posts
    11

    Question Media Player on Webpage Help

    Hi Yall:

    I'm helping a friend do a couple of webpages, so people can go listen to his music. I'm wondering how I can get media player on my webpage, with a drop down playlist. I saw one a couple of pages in the pool leagues in Cases. I'll give you a url, so you can see what I'm talking about. http://www.myleague.com/bte Scroll a little way down the page and you will see it. It's really neat, and I'd like to do something similar. Your help would be very much appreciated.

    Thanks,
    Pate
    Last edited by SavannahSilkie; January 23rd, 2005 at 08:34 AM. Reason: forgot to close tags

  2. #2
    WebmasterLingo greggcz is on a distinguished road greggcz's Avatar
    Join Date
    Jan 2004
    Location
    Clifton, NJ
    Posts
    114
    Here's how it's done. It's a ActiveX code and works only in IE:

    HTML Code:
     <select id="mp3" onchange="document.all.player.filename=document.all.mp3.value;" size="1" name="Player" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" >
        <option>-- select your song --</option>
        <option value="http://www.webmasterlingo.com/motor_intro.mp3">some song</option>
      </select><br>
      <OBJECT id="player" height="50" width="300" 
       classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
      <PARAM NAME="AutoStart" VALUE="-1">
      <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="0">
      <PARAM NAME="Balance" VALUE="0">
      <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="DisplaySize" 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="Filename" VALUE="">
      <PARAM NAME="InvokeURLs" VALUE="-1">
      <PARAM NAME="Language" VALUE="-1">
      <PARAM NAME="Mute" VALUE="0">
      <PARAM NAME="PlayCount" VALUE="1">
      <PARAM NAME="PreviewMode" VALUE="0">
      <PARAM NAME="Rate" VALUE="1">
      <PARAM NAME="SAMILang" VALUE="">
      
      <PARAM NAME="SAMIStyle" VALUE="">
      <PARAM NAME="SAMIFileName" VALUE="">
      <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="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="0">
      <PARAM NAME="VideoBorderWidth" VALUE="0">
      <PARAM NAME="VideoBorderColor" VALUE="0">
      <PARAM NAME="VideoBorder3D" VALUE="0">
      <PARAM NAME="Volume" VALUE="0">
      <PARAM NAME="WindowlessVideo" VALUE="0">
      </OBJECT>
    I also created a little preview:

    http://www.webmasterlingo.com/test.html


    Enjoy,

    -Gregg
    WebmasterLingo - It's all about your website..

  3. #3
    Full Member SavannahSilkie is on a distinguished road
    Join Date
    Jul 2004
    Location
    Savannah, GA
    Posts
    11
    Gregg, thank you so much. This will really be a cool addition to the page. I was looking at the code, looks like I can change the color of the player? Weeeee, this is neat. Thanks again.

    Pate

  4. #4
    Active Member WorldBuilder is on a distinguished road
    Join Date
    Jan 2004
    Location
    Boston, MA
    Posts
    366
    I've often wondered if there is a way to make this same idea cross-browser compatible. It's a great effect and I can't seem to figure out a way to do it so it works in all browsers.

    Except to do it in Flash...

    Chris
    My Site | My Blog
    "The world is a dangerous place, not because of those who do evil, but because of those who look on and do nothing."
    "Insanity is doing the same thing over and over again, expecting different results"
    --Albert Einstein

  5. #5
    WebmasterLingo greggcz is on a distinguished road greggcz's Avatar
    Join Date
    Jan 2004
    Location
    Clifton, NJ
    Posts
    114
    I think some sort of java combination would make it crossover. Also I've seen ActiveX support for FireFox but I myself wouldn't want to use it as ActiveX is the major reason for all security wholes in IE.
    Yahoo embeds the player nicely for both mozilla and IE so maybe we should look at their code and implement it with javascript to make it automatic and crossover.

    I'll take a look later once I have little more time.

    -Gregg
    WebmasterLingo - It's all about your website..

  6. #6
    Active Member WorldBuilder is on a distinguished road
    Join Date
    Jan 2004
    Location
    Boston, MA
    Posts
    366
    Quote Originally Posted by greggcz
    Yahoo embeds the player nicely for both mozilla and IE so maybe we should look at their code and implement it with javascript to make it automatic and crossover.
    Where is that? I can't find it.

    Chris
    My Site | My Blog
    "The world is a dangerous place, not because of those who do evil, but because of those who look on and do nothing."
    "Insanity is doing the same thing over and over again, expecting different results"
    --Albert Einstein

  7. #7
    WebmasterLingo greggcz is on a distinguished road greggcz's Avatar
    Join Date
    Jan 2004
    Location
    Clifton, NJ
    Posts
    114
    Right here:

    http://movies.yahoo.com/shop?d=hv&id...425&cf=trailer

    Works for me on both IE and FireFox nicely


    -Gregg
    WebmasterLingo - It's all about your website..

  8. #8
    Active Member WorldBuilder is on a distinguished road
    Join Date
    Jan 2004
    Location
    Boston, MA
    Posts
    366
    I must be blind, Gregg, because I don't see it anywhere.

    Chris
    My Site | My Blog
    "The world is a dangerous place, not because of those who do evil, but because of those who look on and do nothing."
    "Insanity is doing the same thing over and over again, expecting different results"
    --Albert Einstein

  9. #9
    WebmasterLingo greggcz is on a distinguished road greggcz's Avatar
    Join Date
    Jan 2004
    Location
    Clifton, NJ
    Posts
    114
    click to view any trailer or movie clip, it opens a new window with media player embeded on most browsers
    WebmasterLingo - It's all about your website..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts