Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Add text link over player

16 replies [Last post]

Does anybody know how I could add my text link or just some text like how myflashfetish have done?
Here is what their player looks like:
http://www.mp3asset.com/swf/mp3/fetish-mp3player.swf

I want how it has the text at the bottom.

To make text like myflashfetish, you would have to modify the player ActionScript and re-compile it with the Flash compiler.

A similar effect can be achieved with the captions file. The text is static, but does have a link. Since it is a timed display, you could have it change based on time. Someday, as part of my MySQL Player project, I may create the "captions_Artist Name.xml" dynamically, so it displays the current Artist & Song. But that's a bit off in the future somewhere.

You can see the effect here [url=http://willswonders.myip.org:8085/php/Simple%20Selection%20Page.html]Simple Selection Page[/url]
Choose Patty Loveless.

Captions file:

<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1" xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
  <head>
  </head>
  <body tts:extent="360px 360px" xml:id="b1">
    <div xml:id="d1" begin="1s" dur="999s">
      <p xml:id="p1" region="r1"><![CDATA[<font size="10" color="#4040FF"><a href="http://www.willswonders.myip.org/">Will's Wonders </a></font><p align="right"><font size="9">This is a closed captions example file.</font></p>]]></p>
    </div>
  </body>
</tt>

Which brings up a question.

Does anyone know how to change the background color of the captions display area — short of modifying the ActionScript?

But myflashfetish doesnt use that caption thing.
The text thier players display is at the bottom, to have captions it will show it in the display area at the top.
Please tell me if im wrong.
Does anybody know how i can get it exactly like myflashfetish? Do I need to edit the .swf file?

The link that you referenced above: http://www.mp3asset.com/swf/mp3/fetish-mp3player.swf doesn't have any text at the bottom, unless you are referring to the playlist.

Yes, the captions will show in the display area at the top, just under the equalizer, just like the link you posted, which has some yellow text displaying under the fake equalizer.

To get any other display, you will have to edit the source code ActionScript of the JW Player and then re-compile with the Flash compiler.

How would I edit the source code of the actionscript and recompile jw player?

The source code files ending in ".as" and ".fla" are included in the download package. You have to maintain the directory structure when you unzip them. Then modify the ActionScript (I'm not an Actionscript programmer, so I can't help you with this) and re-comile with Flash8.

It's NOT a trivial task.

the player referreed to, look like one of the very very early jw-mp3 players!
you can still get some of them: click "scripts" at the top of this page, select "mp3player" -
look for "history" at the bottom of that page, and there they are...

Would someone be able to make me one with the link "wwww.im1-music.tk"?
I would do it myself but I aint very good with flash

@ Will
Could you tell me how you made a selection page?
Does it also work with playlists?

@iM1,

Could you tell me how you made a selection page?

By typing; look at the page code in your browser. Eventually, the selection page will be generated by a PHP script from the MySQL database.

Does it also work with playlists?

The links in the selection page could pass a playlist name to the player page. It would have to be a page generated by a PHP script so the playlist name could be incorporated into the player code. You can do the same thing with JavaScript, however, my PHP generated page also gets the HTML playlist from the MtSQL database on-the-fly, which is much harder with JavaScript.

@ Will
Its okay now i got something that works even better. I got a simple playlist selector which basically is a drop down box to select which playlist you want.

So back to the topic...
Can anybody recompile the flash file to have my link at the bottom?

Real nice dropdown menu demo here: [url=http://willswonders.myip.org:8085/php/total_menu.html]Drop-Down Menu[/url]

Those selections could be playlists, then selecting a playlist would display that playlist's selections.

@ Will
Thanks, I dont really need a drop down menu because i got one that works perfecly. Click [url=http://im1-music.110mb.com/musicplayer/musicplayer.html]HERE[/url] to see it (Both playlists have the same tracks)

What I really want now is that bit at the bottm of the player with my text like myflashfetish players.

Anyone gonna help? :|

Unless you want to get into Flash and ActionScript ——— I suggest that you make a button the same size and color as the bottom border of the playlist and put your text/link there.

@Will: On the background color of captions: I am working on support for some styling of the captions, in he end I'll support the same as Flash's built-in component does.