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 22 of 50 FirstFirst ... 12202122232432 ... LastLast
Results 316 to 330 of 742
  1. #316
    New Coder
    Join Date
    Aug 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This may seem off topic, but is there a way to make it play a video without the pesky buttons on the bottom. Like you load the site, it plays the video and then stops. Like it will have just the video none of the buttons, I would fit it into the background with a border so it looks apart of the site. This would be really helpful.

    Here is the site: cfd.clanhn.com

    We're gamers.

    Peace,
    John AKA Tweak

  2. #317
    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
    Code:
    <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="http://urltoyourvideohere.wmv">
          <param name="uiMode" value="none">
          <param name="autoStart" value="true">
          <param name="loop" value="true">
          <embed type="application/x-mplayer2" 
          pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" 
          showcontrols="0" uimode="none" width="300" height="300" 
          src="http://urltoyourvideohere.wmv" autostart="true" loop="true"></embed>
    </object>

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

    coding

    hi _Aerospace_Eng_

    i was wondering if you can help me too

    i want a code that i can play many songs on my internet site
    my site is now www.robertkuiper.tk and i have now just 1 song that is playing when you visit my site.
    i want that if you visit my site the first time ,play nr 1
    and if you visit another time , play song nr 2
    etc.

    can u help me with that please

    greets

  4. #319
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hey I want to know if anyone could tweek this code to make it work so people could pick what video play in sted of mp3? Its a great code hats off to who ever wrote it
    <div align=center>
    <SELECT id=cancion onchange=document.all.music.filename=document.all.cancion.value; size=1 name=Music>
    <OPTION selected>::::::::::::: Choose Your Song Here :::::::::::::</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>
    <OPTION value=http://urltoyoursong.mp3>Artist - Song Title</OPTION>

    </SELECT><BR>
    <OBJECT id=music height=44 width=230 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95>
    <PARAM NAME="AutoStart" VALUE="-1">
    <PARAM NAME="Balance" VALUE="0">
    <PARAM NAME="DisplaySize" VALUE="0">
    <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="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="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>
    </div>

  5. #320
    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
    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="270" '
          +'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="270" '
          +'src="'+what+'" autostart="true" loop="true">'
    +'</object>';
    }
    </script>
    </head>
    
    <body>
    <select name="player" onchange="PlayIt(this.value)">
    <option value="none">::Choose a Movie::</option>
    <option value="http://urltovideo1.wmv">Video 1</option>
    <option value="http://urltovideo2.wmv">Video 2</option>
    <option value="http://urltovideo3.wmv">Video 3</option>
    <option value="http://urltovideo4.wmv">Video 4</option>
    <option value="http://urltovideo5.wmv">Video 5</option>
    </select><br>
    <div id="music">
    <object width="300" height="270" 
          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="270" 
          src="" autostart="true" loop="true">
    </object>
    </div>
    </html>

  6. #321
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey man thats great thanks for the help
    Last edited by DvSRadar; 12-07-2005 at 04:40 AM.

  7. #322
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok So I copy and pasted that code over to my myspace page and put the url's to the video's I wanted to use. The wmp and drop box come up but the video's dont play when I click on it in the drop box. I dont know if it cause its in myspace or want but the it doesnt look like the video is even trying to run? Any Ideas anyone
    Last edited by DvSRadar; 12-07-2005 at 04:41 AM.

  8. #323
    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
    Yeah javascript doesn't work on myspace sorry. You'll need to find a flash video player. I don't know of one that plays normal videos.

  9. #324
    New Coder
    Join Date
    Dec 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I dont know if any can even do this but is there away to write java in to HTML? Im think I heard of that but Im not very good at this coding stuff yet, Im ok at CSS but just learning HTML and Java.... any thoughts

  10. #325
    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
    Quote Originally Posted by DvSRadar
    I dont know if any can even do this but is there away to write java in to HTML? Im think I heard of that but Im not very good at this coding stuff yet, Im ok at CSS but just learning HTML and Java.... any thoughts
    Okay now you aren't making sense. Sounds like you are trying to make javascript act as html. No that isn't possible. Note Javascript is NOT Java.

  11. #326
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    controls 'detached' from player?

    how can I manage to get just a 'seek-slider' (to seek and scroll through the video), that is positioned elsewhere then, independently from the embedded player (which is uimode none)

    thanx

  12. #327
    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
    You don't. As in other posts you are trying to do too much with the WMP interface. Its not that customizable sorry.

  13. #328
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I'm terribly sorry

    if you've already answered this... (I dont have time to read through 20 pages LOL)

    I was wondering if its possible to have two dropdown menu lists and one mediaplayer.

    For instance I could have two catergories:

    cd1: [drop down menu] cd2: [drop down menu]

    They could choose tracks from either menu. I tried duplicating the <select> tag for each category but the mediaplayer doesnt work right. Example:

    I choose a track from cd1 menu and the mediaplayer plays it.
    But then I go to cd2 menu and choose to listen to a track from it.
    The mediaplayer loads the track from the cd1 list again. Do you see my problem?

    The mediaplayer plays whatever song I want from cd1 menu, but then when I choose a song from cd2 menu the player just loads the last song I chose on the cd1 menu.

    Does this have something to do with the <select> ids being the same name? or the functions being called being the same? In both menus I have the ids as cancion as you had them and the called function as song().

    Tell me what I need to do.

  14. #329
    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
    Quote Originally Posted by samuisamu
    if you've already answered this... (I dont have time to read through 20 pages LOL)
    I'm sorry if this sounds mean but if you don't have the time or don't feel like reading then I guess I don't have the time to help you. I spend time helping others, you should spend time helping yourself as well. And if you expect me to do the code for you, I don't think you deserve it if you aren't even going to try or much less search.

  15. #330
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_
    You don't. As in other posts you are trying to do too much with the WMP interface. Its not that customizable sorry.
    right, I got this one

    And I assume that its not possible to have slider-only-controls @ their normal place neither; something inbetween uimode none and uimode mini?

    ActiveX control/EnablePositionControls/EnableTracker/VBScript?
    (http://www.lib.tsinghua.edu.cn/chine...pax10.htm#I168)

    thanx again
    Last edited by photopilote; 12-08-2005 at 10:27 AM.


 
Page 22 of 50 FirstFirst ... 12202122232432 ... 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
  •