|
|||||||
| Graphics Discussion and technical support for creating and editing graphics for the web. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Only a suggestion
If I understand you right, you want the graphic to have interactivity with the RealPlayer?
|
|
#4
|
|||
|
|||
|
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)
|
|
#5
|
|||
|
|||
|
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] |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
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.
|
|
#8
|
|||
|
|||
|
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
|
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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.
|
|
#11
|
|||
|
|||
|
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>
|
|
#12
|
||||
|
||||
|
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 (!) |
|
#13
|
|||
|
|||
|
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.
|
|
#14
|
|||
|
|||
|
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>
|
|
#15
|
|||
|
|||
|
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 |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|