www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > Graphics

    Graphics Discussion and technical support for creating and editing graphics for the web.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 02-11-2003, 10:59 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    Help please!

    ok. here is what I want to do. I have a streaming radio station which can play via Realplayer. I want to have 2 images. one of a radio which is off and one which is on. I want the off pic to be up when it isnt playing and on when it is.

    and also, I want to have custom play and stop buttons in image form.

    email Vchat20@tsohq.com if you can help. thx.
    Reply With Quote
      #2  
    Old 02-12-2003, 02:22 PM
    khaki's Avatar
    khaki khaki is offline
    #F0E68C
     
    Join Date: Jan 2003
    Location: Jersey Girl
    Posts: 1,203
    Hi Vchat

    Don't get too excited, because I don't have an answer for you (I'm still having trouble with the question. lol), but I notice that this is the 3rd forum where you have posted this question..

    Now maybe this forum (Graphics) will have the audience that can help you, but you should then go to the other forums and post that you have moved this question HERE, so that this can be handled in one place and not scattered around.

    It's just a suggestion, but I think it is a courtesy that you should extend to those who take their time to attempt to answer questions for others.

    Good luck in your search for your answer.
    k
    Reply With Quote
      #3  
    Old 02-12-2003, 04:30 PM
    Pixelchik Pixelchik is offline
    Registered User
     
    Join Date: Feb 2003
    Location: San Diego
    Posts: 141
    Only a suggestion

    If I understand you right, you want the graphic to have interactivity with the RealPlayer?
    Reply With Quote
      #4  
    Old 02-12-2003, 05:41 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    yeah. I have the play and stop images worked out fine. now all I want is to have an image to change depending on the stream status. (ie. on.gif shown when stream is playing. off.gif shown when stream is stopped)
    Reply With Quote
      #5  
    Old 02-12-2003, 05:58 PM
    Pixelchik Pixelchik is offline
    Registered User
     
    Join Date: Feb 2003
    Location: San Diego
    Posts: 141
    Question

    I figured it would involve some scripting, so check out this 3 page example..I think it may do what you want..maybe?

    http://www.streamingmediaworld.com/symm/tutor/jsreal/[/url]
    Reply With Quote
      #6  
    Old 02-12-2003, 06:18 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    No, I figured that part out. that was a peice of cake.

    What I want done is this:
    off.gif only shows when the stream isnt playing.
    on.gif only shows when the stream is playing.
    Reply With Quote
      #7  
    Old 02-12-2003, 06:23 PM
    Pixelchik Pixelchik is offline
    Registered User
     
    Join Date: Feb 2003
    Location: San Diego
    Posts: 141
    The only other way I can imagine is using Flash (swf) to control the Real Player. I don't know if Real Player can control the Flash. Since I know you can use Javascript to control external media from the Flash file. So instead of .gif images, make them SWF images with scripting.
    Reply With Quote
      #8  
    Old 02-12-2003, 06:34 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    ok. I found some code on the realplayer documentation site. all I know is it tells the webpage what the player is doing. now I need to get it setup to change an image. go here and go to Embedded Player Callbacks > OnStateChange
    Reply With Quote
      #9  
    Old 02-12-2003, 06:46 PM
    Pixelchik Pixelchik is offline
    Registered User
     
    Join Date: Feb 2003
    Location: San Diego
    Posts: 141
    Here's more info on the OnStateChange: it might help with loading your on and off images

    http://www.mozilla.org/quality/embed...rogListTP.html
    Reply With Quote
      #10  
    Old 02-12-2003, 06:52 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    no, thatuses Mozilla's player. im using Realplayer. shouldnt be too hard. maybe part of the code in a rollover imae would help? ill keep looking, but need help from experienced users here.
    Reply With Quote
      #11  
    Old 02-12-2003, 07:00 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    ok. I found the rollover image code. now can someone help?

    Code:
    <a href="javascript:void(0)" onMouseOut="RestoreImg()" onMouseOver="SwitchImg('document.BodyImage','document.BodyImage','file:///C|/WINDOWS/Desktop/play.gif')"><img src="file:///C|/WINDOWS/Desktop/stop.gif" name="BodyImage" width="75" height="75" alt="Image" border="0"></a>
    Reply With Quote
      #12  
    Old 02-12-2003, 07:06 PM
    khaki's Avatar
    khaki khaki is offline
    #F0E68C
     
    Join Date: Jan 2003
    Location: Jersey Girl
    Posts: 1,203
    Hey Vchat -

    Your getting the first help you have
    EVER had on this question, and then
    you dismiss Pixelgirl's assistance by
    asking for more experienced users
    to help you?

    Now I'm sorry that I went through all
    of your other posts of this question
    (in all of the other forums where you
    had posted it) in order to redirect
    people to come here to this location
    to help you with your question.

    I think that you are being rude and
    ungrateful, and Pixelgirl would be a
    far better person than me if she
    continues to care about your solution
    at all.

    I'll probably cool-off in a while,
    but I'm pretty mad right now...
    k (!)
    Reply With Quote
      #13  
    Old 02-12-2003, 09:22 PM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    well, im just stating facts. im not being mean. im just saying, the advice she gave me was for a totally different browser and player then I was using.
    Reply With Quote
      #14  
    Old 02-13-2003, 08:19 AM
    Vchat20 Vchat20 is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Warren, Ohio, USA
    Posts: 24
    ok. I managed to try and make some code out of what very little knowledge I have. maybe somebody could revise it for me?

    Code:
    <script language="javascript">
    
    document.listen.OnStateChange(int32 2, int32 3).write("<img src="images/on.gif">")
    
    document.listen.OnStateChange(int32 3, int32 0).write("<img src="images/off.gif">")
    
    </script>
    Reply With Quote
      #15  
    Old 02-14-2003, 05:11 PM
    Pixelchik Pixelchik is offline
    Registered User
     
    Join Date: Feb 2003
    Location: San Diego
    Posts: 141
    Just one more time!

    Like I said before, maybe Flash/SMIL is your answer? See this Real Form:

    http://realforum.real.com/cgi-bin/re.../wwwthreads.pl
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes 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 Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 07:42 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.