The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Pop-up mp3 player

+2
LAPDCLANLEADER
ave20
6 posters

Go down

Solved Pop-up mp3 player

Post by ave20 May 23rd 2010, 4:16 pm

Hi,

I need a code, that I will past into my widget, to make this mp3 player:
http://www.flashwidgetz.com/widget/15
pop-up after click at this image:
https://2img.net/h/oi47.tinypic.com/oi62ch.gif
And here is where I wish to place this player at my forum:

https://2img.net/h/oi45.tinypic.com/6r4gzr.jpg

Can anyone help me with that, please ?


Last edited by ave20 on June 14th 2010, 2:18 pm; edited 3 times in total
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by LAPDCLANLEADER May 24th 2010, 7:33 am

For the placement of the button you will have to put the code for the button either on top of everything in the CSS sheet or in the meta tags.
Put the music player on an HTML page
for making the music player pop out use
Code:
<a <img="Buttonlink"onClick="window.open('add link to the HTML with the music script');return false">Music Player</a>
avatar
LAPDCLANLEADER
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 May 24th 2010, 1:16 pm

DOESN'T WOKR.

Anyone else will try ? To help me ? ???
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ryo aokawa May 24th 2010, 6:14 pm

I CAN MAKE IT SO YOU HAVE A PLAYER AT THE SIDE AND WHEN YOU GO UP AND DOWN THE PAGE IT WILL COME WITH YOU DO YOU WANT THAT ?
ryo aokawa
ryo aokawa
Forumember

Male Posts : 284
Reputation : 0
Language : english

http://naruto1rpg.all-up.com/index.htm

Back to top Go down

Solved Re: Pop-up mp3 player

Post by RoNo May 24th 2010, 10:38 pm

Use the code below to popup your player from a fixed image
Look up for demo (the image demo is not a valid popup since it is bbcode)
Code:
<div style="position:fixed; left: 100px; top: 0px"><a onclick="window.open('http://static.flashwidgetz.com/swf/candybar.swf?autoplay=false&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa','popup01','width=250, height=70,height=200,left,280,top=150,scrollbars=no');return false" href="http://static.flashwidgetz.com/" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always"><img src="http://i47.tinypic.com/oi62ch.gif" border="0"></a></div>

Pop-up mp3 player Oi62ch
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 May 25th 2010, 12:08 am

@ RoNo
THX You ! This code is working properly ! Thx again !
But...
1. Is there any chance to make the mp3 player pop-up at the same window ? I mean, to not open new window (at least using Opera) ?
2. Is there any way to make the mp3 player start auto playe ? I have to change: autoplay=false to true ?
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by RoNo May 25th 2010, 12:50 am

This will toggle it (player is set to autoplay)
Code:
<div id="player1" style="position:fixed; left: 100px; top: 0px">

<table style="background:transparent; border:none"><tr><td>

<script language="javascript">
function toggle_it(itemID)
{ if ((document.getElementById(itemID).style.display == 'none'))
{ document.getElementById(itemID).style.display = 'inline'; }
else
{ document.getElementById(itemID).style.display = 'none'; } }
</script>

<a href="#" onClick="toggle_it('p1')"><img src="http://i47.tinypic.com/oi62ch.gif" border="0" alt="Music Player"></a>
</td></tr></table>

<table id="p1" name="player1" style="display:none;">
<tr><td width="275px" style="background-color: transparent; border:none;
padding:0px">

<embed src="http://static.flashwidgetz.com/swf/candybar.swf?autoplay=true&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa" width="270" height="70" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always">
</td></tr></table>
</div>
I prefer popup players so music is uninterrupted while browsing but there you go

You could try another image... like this Pop-up mp3 player 2iqefjb
Demo
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 May 27th 2010, 1:24 pm

RoNo

Thx once again, but I want music start automatycly when someone open my site - not only when he click on icon to show mp3 player.
If someone visit my site, I want music start automatycly...(without need to press play). Is there any chace to do that ?

Can You help me this last time ?

EDIT:
~ BUMP
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by RoNo May 29th 2010, 12:38 pm

This is fixed at the top instead of the button you wanted
Code:
<div id="player1" style="position:fixed; left:100px; top:0px"><embed src="http://static.flashwidgetz.com/swf/candybar.swf?autoplay=true&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa" width="270" height="70" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always"></div>


Fixed "bottom right" may be better... try this
Code:
<div id="player1" style="position:fixed; right:70px; bottom:0px"><embed src="http://static.flashwidgetz.com/swf/candybar.swf?autoplay=true&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa" width="270" height="70" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always"></div>


Also... you could make the player hidden like this
Code:
<embed src="http://static.flashwidgetz.com/swf/candybar.swf?autoplay=true&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa" width="1" height="1" type="application/x-shockwave-flash" allowscriptaccess="always" style="visibility:hidden">
I would display the player fixed though...
so visitors have the option of turning the music off.
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 May 29th 2010, 1:57 pm

Hmmm, but this will show mp3 player at my site. And I want to make it like this:
- make the mp3 player pop-up from the image,
- make the music starts when some one watch my site (but still, mp3 player us "under" image").

Is there any chance to make it ? :/
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by drfawad June 14th 2010, 10:01 am

i am using this code:


<div style="position:fixed; left: 100px; top: 0px"><a onclick="window.open('http://static.flashwidgetz.com/swf/candybar.swf?autoplay=false&id=FIC5ESYXG1WCVUSX77&gen=HxwUidIFJnbX0zEa','popup01','width=250, height=70,height=200,left,280,top=150,scrollbars=no');return false" href="http://static.flashwidgetz.com/" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always"><img src="https://2img.net/h/oi47.tinypic.com/oi62ch.gif" border="0"></a></div>


Two problems:

1>The button for palying music is at the top, i want it at left bottom corner.

2> The music player plays just two songs,how to play more songs.

Thanks
avatar
drfawad
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 June 14th 2010, 2:17 pm

And You cant crete Your own topic or what ? oO

1. Please someone close my tread....
2. drfawad - create Your own topic....
avatar
ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by Sanket June 14th 2010, 6:59 pm

Since this thread is marked solved, I will lock this thread.
Pop-up mp3 player 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum