Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    embedded media player ?

    Can i set the embedded media player so people can download the music to their computer

    i used the media player code from the sticky and it works great thanks

  • #2
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure about doing it within the media player, but you can just make a download link.

    Code:
    <a href="link-to-mp3">Download here</a>

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hello,

    You can use this code to embed your media player:

    <OBJECT id="VIDEO" width="320" height="240"
    style="position:absolute; left:0;top:0;"
    CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    type="application/x-oleobject">

    <PARAM NAME="URL" VALUE="your file or url">
    <PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
    <PARAM NAME="AutoStart" VALUE="True">
    <PARAM name="uiMode" value="none">
    <PARAM name="PlayCount" value="9999">
    </OBJECT>

    Please visit http://www.mioplanet.com/rsc/embed_mediaplayer.htm for more details.

    Hope this helps!!!
    CoffeeCup.com

  • #4
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    You missed the sticky at the top of this forum

    http://www.codingforums.com/showthread.php?t=50666

    I would start at the end an read backwards because the end is more up to date and the thread is very looooooooooong.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #5
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is the code I am using and I just want to give the user the option of downloading the files in IE or firefox. I have spent some time reviewing the other thread and have come up emty handed thanks for any help
    feel free to view the web sit i use this code on http://lhcoc.com/2010_Sermons.html

    {document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='300' height='75' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>";
    }
    //-->

    </script>
    <div align="center">
    <div id="jukebox"><br><br>
    <select id="cancion" onchange="song()" size="1">
    <option selected="selected">::::::::::::: Choose Sermon Here :::::::::::::</option>
    <option value="archive/2010/Sermons/01-03-10am.mp3">01-03-2010am Who packed your parachute</option>
    <option value="archive/2010/Sermons/01-10-10am.mp3">01-10-2010am Victory through faith</option>
    <option value="archive/2010/Sermons/01-10-10pm.mp3">01-10-2010pm Home Improvement</option>
    <option value="archive/2010/Sermons/01-17-10am.mp3">01-17-2010am Home Improvement series</option>
    <option value="archive/2010/Sermons/01-17-10pm.mp3">01-17-2010pm Home Improvement series</option>
    <option value="archive/2010/Sermons/01-24-10pm.mp3">01-24-2010pm Home Improvement series</option>

    </select>
    <br />
    <span id="music1"><embed type="application/x-mplayer2" id="music1"
    pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
    src=""
    name="MediaPlayer1"
    width="300"
    height="70"
    controltype="2"
    showcontrols="1"
    showstatusbar="1"
    AutoStart="0">
    </embed></span><td valign="top" align="left" width="30%">


  •  

    Posting Permissions

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