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.
Page 12 of 50 FirstFirst ... 2101112131422 ... LastLast
Results 166 to 180 of 742
  1. #166
    New Coder
    Join Date
    Feb 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by bubbisthedog
    Another thing, Aaron (this applies if you've hired an outfit to host your server):

    If you chose to use WMP over Flash, and wanted someone to load one giant playlist all at once, check with your host to see what the maximum download size per month is. Mine is 50 G, I think. So, if someone were to load up a giant playlist like that, and only listen to the first 10 Meg (out of 100 Meg, let's say), that'd be 90 Meg off your allowance for the month.

    I think that's how it works anyway... Just letting you know...

    Regards,

    bubbis
    Hi bubbisthedog,

    I don't want to load the whole playlist just each song before it plays back.

    The reason is this it will play the first file fine then moves onto the second and doesn't download the song entirely before it plays it back therefore it only plays part of the song then skips to the next song. Really weird. The media player will play every other song fine, but every other song only downloads part way.

    I makes the playlist hard to listen to.

    That flash player isn't going to work it doesn't support m3u files.

    In effect Aerospace_Eng what I want it to do is wait a couple seconds (so it can preload) before it plays back.

    btw I don't have a streaming server.

    all my files are 32k mp3 3 megs or less. I connect with a highspeed cable connection. Apparently on the songsit doesn't download all the way it stops at a %17 and stops downloading then on the songs it does download you see example 9%, 17%, 45% etc.

    www.christianradio.me.uk - click on the listen link

    Here's what I have.

    <object
    classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
    name=WindowsMediaPlayer1 id=WindowsMediaPlayer1 width=245 height=64>
    <param name=URL value="radiofolder/current/radio.m3u">
    <param name=rate value=1>
    <param name=balance value=0>
    <param name=currentPosition value=0>
    <param name=defaultFrame value="">
    <param name=playCount value=1>
    <param name=autoStart value=-1>
    <param name=currentMarker value=0>
    <param name=invokeURLs value=-1>
    <param name=baseURL value="">
    <param name=volume value=50>
    <param name=mute value=0>
    <param name=uiMode value=full>
    <param name=stretchToFit value=0>
    <param name=windowlessVideo value=0>
    <param name=enabled value=-1>
    <param name=enableContextMenu value=0>
    <param name=fullScreen value=0>
    <param name=SAMIStyle value="">
    <param name=SAMILang value="">
    <param name=SAMIFilename value="">
    <param name=captioningID value="">
    <param name=enableErrorDialogs value=0>
    <param name="_cx" value=6482>
    <param name="_cy" value=1693>

    I am using a different version of the plugin

    Thanks. God Bless.

    Aaron.
    Last edited by aaroncavanaugh2; 08-16-2005 at 08:23 AM.

  2. #167
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is there a way where i can let the user decide which file to play using links taken from database (not hardcoded in html ) and after the user had click on the selected link, the song will be played in media player in another page? Have been trying how to get the filename and place it in the html tag, can someone advice me on that.

  3. #168
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    embed wmp

    I have embeded one windows media player into my webpage and have given vistors links to play any number of videos in the single player. However the links don't consistently go to the player. Occasionaly an external windows media player will open and the embeded player stays quiet. Also, on occasion both will begin to play. Anyone had this problem before?

    http://www.geocities.com/idiged//links.htm

    many thanks

  4. #169
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    >.<

    Okay, so I went to the site and got the flash player. It works, all is good in the world. Except one thing -- I put it into my blogger html template, and I can't move it... like, to a different area of the page. It's behind a picture and under my journal post. I was told that if I put it in a table or something I could move it, but I'm superdumb and don't know how to do that. Soooooo... if it's possible, could someone explain it? And if not, could someone tell me what I could do? Thanks muchly <3.

  5. #170
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    @aaroncanavnaugh2 and jason123 I will refer you to this flash mp3 player which does load the song while the song is playing so technically its streaming and it can also be setup to read songs from a database.

    @mia27 what flash player did you get, and when you say can't move it you mean can't drag it with the mouse or you don't know how to put it in a certain spot on your page? Without your code its impossible to give you a valid solution.

    PS aaron in the future please don't PM just to get me to look at your problem. I am NOT the only member on the forums. Just be patient and your question will be answered if its a topic of interest in due time.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  6. #171
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have read this entire post and havent found an answer to what I'd like to do.
    I have an embedded wmp in my page and want to have a link or button to allow the viewer to go to fullscreen AND not open a separate WMP window. Also wish for it to resume where it was playing. When pressing ESC or double clicking it closes the fullscreen and returns to original html page. CBSnews.com does this and I like it!
    If any can help out i would truly appreciate it! Yes, I'm new to Javascript.

    Basic pages to test this so far:

    index2.html:
    -----------------------------
    <HTML>

    <head>


    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original: Paul Deron (trombonepaul@yahoo.com) -->
    <!-- Web Site: http://paul1.web.com -->

    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->

    <!-- Begin
    function fullScreen(theURL) {
    window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
    }
    // End -->
    </script>
    </head>
    <BODY>
    <center>
    <OBJECT
    ID="WinMedia"
    classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    CODEBASE=

    "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1

    ,52,701" width=480 height=435 standby="Loading Microsoft Windows Media Player

    components..." type="application/x-oleobject">
    <PARAM NAME="AudioStream" VALUE="-1">
    <PARAM NAME="AutoSize" VALUE="-1">
    <PARAM NAME="AutoStart" VALUE="1">
    <PARAM NAME="AnimationAtStart" VALUE="-1">
    <PARAM NAME="AllowScan" VALUE="-1">
    <PARAM NAME="AllowChangeDisplaySize" VALUE="-1">
    <PARAM NAME="AutoRewind" VALUE="0">
    <PARAM NAME="Balance" VALUE="10">
    <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="65535">
    <PARAM NAME="DisplayForeColor" VALUE="16744448">
    <PARAM NAME="DisplayMode" VALUE="0">
    <PARAM NAME="DisplaySize" VALUE="2">
    <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="video.asx">
    <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="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="ShowControls" VALUE="-1">
    <PARAM NAME="ShowAudioControls" VALUE="-1">
    <PARAM NAME="ShowDisplay" VALUE="-1">
    <PARAM NAME="ShowGotoBar" VALUE="0">
    <PARAM NAME="ShowPositionControls" VALUE="-1">
    <PARAM NAME="ShowStatusBar" VALUE="-1">
    <PARAM NAME="ShowTracker" VALUE="-1">
    <PARAM NAME="TransparentAtStart" VALUE="0">
    <PARAM NAME="VideoBorderWidth" VALUE="5">
    <PARAM NAME="VideoBorderColor" VALUE="4227327">
    <PARAM NAME="VideoBorder3D" VALUE="0">
    <PARAM NAME="Volume" VALUE="-150">
    <PARAM NAME="WindowlessVideo" VALUE="0">
    <Embed type="application/x-mplayer2"
    pluginspage=
    "http://www.microsoft.com/Windows/MediaPlayer/"
    src="video.asx"
    Name=MediaPlayer
    AutoStart=0
    Width=480
    Height=435
    autostart=1
    ShowControls=1
    </embed>
    </OBJECT>
    <a href="javascript:void(0);" onClick="fullScreen(video.asx);return false">Open

    Full Screen Window</a>
    <br>
    <a href="javascript:void(0)" onclick="full(video.asx);return false"

    class="whitesmall">Fullscreen</a>
    </center>
    </BODY>
    </HTML>
    ----------------------------------------------------------
    video.asx:

    <ASX version = "3.0">
    <ENTRY>
    <REF HREF =
    "TC4014-V.wmv" />
    </ENTRY>
    </ASX>
    ----------------------------------------------------------

  7. #172
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Search around for play states for Windows Media Player. I haven't work with these before but its able to pause and start from where you want it to. It only works in IE though.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  8. #173
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks. The resume is probably way more involved and I can give up on that for now, but would like to be able to go to full screen and then back when done. I wouldnt think this would be too hard to do but I am not well versed in this.

  9. #174
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    The doubleclick would be a bit harder as its not supported too well. The esc key is a different story. The popup page should be setup like this.

    yourplayer.html
    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">
    <script>
    function keyPressHandler(e) {
    var kC  = (window.event) ?    // MSIE or Firefox?
    	event.keyCode : e.keyCode; 
    var Esc = (window.event) ?    
        27 : e.DOM_VK_ESCAPE // MSIE : Firefox
    if(kC==Esc) window.close();
    }
    </script>
    </head>
    <body onkeypress="keyPressHandler(event)">
    <!--Your Video Code Here-->
    </body>
    </html>
    If the user hits esc the popup should close.
    Then on the page that has the button, setup it up like this.
    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>
    <script type="text/javascript">
    function openWin(url){
    sw=screen.width;
    sh=screen.height;
    newwin=window.open(url,'newwin','width='+sw+',height='+sh+',top=0,left=0,scrollbars=0,menubars=0,toolbar=0');
    }
    </script>
    </head>
    
    <body>
    <input type="button" value="Full Screen" onclick="openWin('yourplayer.html')">
    </body>
    </html>
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  10. #175
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey thanks, but that opens another html window and the media player is the same size.
    Maybe I needed more explanation of what exactly I'm trying to accomplish.
    I want the media player to open as if you Hit ALT-ENTER while playing a video. (full screen mode with contrtols if mouse moves) Then the control to close that window would be handled by WMP. ESC or Double-click closes WMP...
    See CBSnews.com for an exact example of what I'd like to do.
    Thanks for your time!

    I looked at MSDN for the answer and the coded they gave is:

    <INPUT type = button
    value = "Full Screen"
    name = FSBUTTON
    onclick = "
    /* Check to be sure the player is playing. */
    if (Player.playState == 3)
    Player.fullScreen = 'true';
    ">
    ----------------------------------
    but IE gave an error "player" is undefined... yet the ID I used was "player"

  11. #176
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Umm yeah you have to actually tell the player to play fullscreen. Try this for the yourplayer.html page.
    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">
    <style type="text/css">
    html, body {
    height:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    }
    </style>
    <script>
    function keyPressHandler(e) {
    var kC  = (window.event) ?    // MSIE or Firefox?
    	event.keyCode : e.keyCode; 
    var Esc = (window.event) ?    
        27 : e.DOM_VK_ESCAPE // MSIE : Firefox
    if(kC==Esc) window.close();
    }
    </script>
    </head>
    <body onkeypress="keyPressHandler(event)">
    <object id="mediaPlayer" width="100%" height="100%" 
          classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
          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="video.asx">
          <param name="animationatStart" value="true">
          <param name="transparentatStart" value="true">
          <param name="autoStart" value="true">
          <param name="showControls" value="true">
          <param name="loop" value="true">
          <embed type="application/x-mplayer2" 
          pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" 
          showcontrols="true" width="100%" height="100%" 
          src="video.asx" autostart="true" loop="true">
    </object>
    </body>
    </html>
    You can use the msdn one but it will only work on IE. IE is not the only browser out there. Good luck capturing the alt enter. I don't know how to catpure two keys at once. I gave you the script to capture the escape key so maybe you can work from that.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  12. #177
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wow... so close! Only it's still in an IE window. Also it's a floating window with the bottom and right side off the screen a tad. if you look at cbsnews.com you will see exactly what I am wanting. Its a true WMP window with all the controls and behavior of having a WMP open. I guess I could use this latest one you came up with but now I am very curious as to how they did this.

    Thanks for all the help! you are good!

  13. #178
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a feeling that if I can get this code to work it may be the answer to this?

    <INPUT type = button
    value = "Full Screen"
    name = FSBUTTON
    onclick = "
    /* Check to be sure the player is playing. */
    if (Player.playState == 3)
    Player.fullScreen = 'true';
    ">

    It doesnt work though.

    more info from MSDN:
    -----------------------------------------
    During full-screen playback, Windows Media Player hides the mouse cursor when enableContextMenu equals false and uiMode equals "none".

    If uiMode is set to "full" or "mini", Windows Media Player displays transport controls in full-screen mode when the mouse cursor moves. After a brief interval of no mouse movement, the transport controls are hidden. If uiMode is set to "none", no controls are displayed in full-screen mode.

    Note Displaying transport controls in full-screen mode requires the Windows XP operating system.

    If transport controls are not displayed in full-screen mode, then Windows Media Player automatically exits full-screen mode when playback stops.
    -------------------------------------------

  14. #179
    New Coder
    Join Date
    Sep 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is this video.asx file the hangup? Maybe I dont even need it?

  15. #180
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    The classid being used is for wmp8 and below the one you need is 6BF52A52-394A-11D3-B153-00C04F79FAA6
    The asx probably not the problem, but you are right all you need is this TC4014-V.wmv
    Note now almost all the parameters need to be changed.
    Code:
    <object id="mediaPlayer" width="100%" height="100%" 
          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="TC4014-V.wmv">
          <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="100%" height="100%" 
          src="video.asx" autostart="true" loop="true">
    </object>
    Before you say "but this doesnt work in Firefox" is your target audience using Internet Explorer?
    ||||If you are getting paid to do a job, don't ask for help on it!||||


 
Page 12 of 50 FirstFirst ... 2101112131422 ... LastLast

Posting Permissions

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