The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Pop-up mp3 player

View previous topic View next topic Go down

Solved Pop-up mp3 player

Post by ave20 on 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:
http://i47.tinypic.com/oi62ch.gif
And here is where I wish to place this player at my forum:

http://i45.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

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by LAPDCLANLEADER on 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>

LAPDCLANLEADER
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

Solved Re: Pop-up mp3 player

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

DOESN'T WOKR.

Anyone else will try ? To help me ? ???

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ryo aokawa on 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
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 on 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>


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 on 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 ?

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by RoNo on 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
Demo

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 on 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

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by RoNo on 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
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 on 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 ? :/

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

Post by drfawad on 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="http://i47.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

drfawad
Forumember

Posts : 51
Reputation : 0
Language : english

Back to top Go down

Solved Re: Pop-up mp3 player

Post by ave20 on 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....

ave20
Forumember

Posts : 108
Reputation : 0
Language : Polski

Back to top Go down

Solved Re: Pop-up mp3 player

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

Since this thread is marked solved, I will lock this thread.


Sanket Smile

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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