| Music on the Site |
| Sunny | Date: Wednesday, 2008-03-19, 6:28 Am | Message # 1 |
Haunter
Group: Administrators
Messages: 2015
Awards: 121
Reputation: 139
Status: Online
| You can insert mp3 player into any page or message. It may serve to let visitors listen to various compositions. It may be a background for you site (do not abuse this capability, don’t forget that mp3 files weight quite a lot, and not all users have broadband Internet access. They won’t be able to load your site in case of automatic playback) It is used in the following way: By means of the BB-code: Having entered the following Code [audio]http://forum.ucoz.com/i_love_ucoz.mp3[/audio] we'll get You can also insert a player with the help of JS-code. To get it use Multimedia - > Insert audio (mp3) or Multimedia - > Upload audio (mp3) [after uploading press JS-code near necessary file] As a result, for the mp3 file at http://forum.ucoz.com/i_love_ucoz.mp3 we'll get the following code Code <script src="http://forum.ucoz.com/media/?auto=0;small=0;color=0055e9;textoff=0;t=audio;f=http%3A%2F%2Fforum.ucoz.com%2Fi_love_ucoz.mp3" type="text/javascript"></script> You can also insert it into any place of your site. Besides, it has controlled parameters (settings), which we’ll describe below. Quote auto=0;small=0;color=0055e9;loop=0;textoff=0 Values in bold type may be changed from 0 to 1. In this way, you’ll enable them. By means of "color" specify code color. So, if we change in the code auto=0 for auto=1 - a song will be played automatically (be careful with this feature, think of those who have slow Internet and paid traffic). small=1 – will display a small player of two buttons. Here it is: loop=1 – a file will be played back non-stop (till you press stop) textoff=1 – will remove text (e.g. "i_love_ucoz.mp3" in the example above) color=0055e9 (player color management) –instead of 0055e9 write the code of a desired color. Codes can be found out from tables or in Photoshop by clicking on a color. Example. Let’s take the code of the black color - 000000 Code <script src="http://forum.ucoz.com/media/?auto=0;small=0;color=000000;textoff=0;t=audio;f=http%3A%2F%2Fforum.ucoz.com%2Fi_love_ucoz.mp3" type="text/javascript"></script> we'll get: Music as a background Code <bgsound src="URL" loop=5 volume=0 balance=0> where URL – file name loop – number of repeats, if loop="infinite" - unlimited format - .wav .mid EMBED tag It is used to insert into pages multimedia content and other files. Code <EMBED attributes> </EMBED> height sets vertical size of embedded object width sets horizontal size of embedded object autostart sets possibility to start while loading, takes on the values "true" or "false" loop sets number of repeats, takes on the values "true" or "false" hidden allows to hide active module, takes on the values "true" or "false" src specifies URL of a multimedia file pluginspage specifies URL of the plug-in for playing back a multimedia file bgcolor sets background of the object type specifies multimedia file type quality specifies multimedia file quality alt sets alternative content Code <EMBED src="file.swf" menu="true" quality="high" bgcolor="#000066" width="760" height="410" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave"></EMBED> As you can see from the example you can insert Flash files, as well as video and audio. You can write a code with minimal number of attributes Code <embed src="video.avi" width="760" height="410"> Music in a pop-up (new) window There is nothing difficult, use JavaScript On the page where you want to place the button "Play music" insert the following code between the < head> tags Code <script> function openWindow() { muzWindow = open("http://www.ucoz.com/music.html", "newWindow", "width=300,height=300, status=no, toolbar=no, menubar=no"); } </script> width=300 height=300 – width, height http://www.ucoz.com/music.html – link to the page with your music Then put in any place of the page either the link Code <a href="#" onClick="openWindow()">Press to play music</a> or the button Code <button onClick="openWindow()">Press to play music</button>
I'm not "man", "sir" or whatever. I'm female! About signatures, screenshots etc...
|
|
| |
|
| Rudi | Date: Monday, 2009-04-06, 7:41 Am | Message # 76 |
|
Newbie
Group: Users
Messages: 2
Awards: 0
Reputation: 0
Status: Offline
| can i make a playlist on my website which allows me to shuffle the music So when you enter my website, you don't get the same song everytime edit: I have got a song called High way to hell on my website. It works perfect
Message edited by Rudi - Monday, 2009-04-06, 7:43 Am |
|
| |
|
| Sunny | Date: Monday, 2009-04-06, 9:39 Am | Message # 77 |
Haunter
Group: Administrators
Messages: 2015
Awards: 121
Reputation: 139
Status: Online
| Rudi, you can use Widgets, there is a player with a playlist.
I'm not "man", "sir" or whatever. I'm female! About signatures, screenshots etc...
|
|
| |
|
| Armaros | Date: Monday, 2009-04-06, 12:34 Pm | Message # 78 |
Haunter
Group: Checked
Status: Offline
| Quote (tapirlaut) can you give me the code? uCoz already offers JS after uploading song in File Manager.
|
|
| |
|
| DeathGod | Date: Monday, 2009-04-13, 2:50 Pm | Message # 79 |
Regular
Group: Checked
Messages: 75
Awards: 4
Reputation: 3
Status: Offline
| not even the ordinary player works! I don't understand this...
|
|
| |
|
| Armaros | Date: Monday, 2009-04-13, 3:40 Pm | Message # 80 |
Haunter
Group: Checked
Status: Offline
| DeathGod, works fine for me. Add this. (Write 'true' instead of 'false' you want to turn effect on) Code <embed src="---Music--Link---" autostart="false" loop="false" hidden="false"></embed> Music Link: It must have extension at end, such as xxx.mp3.
|
|
| |
|
| Slicer | Date: Tuesday, 2009-04-14, 6:59 Am | Message # 81 |
Regular
Group: Checked
Messages: 51
Awards: 2
Reputation: 3
Status: Offline
| Does anyone know how to put a music player in your signature on your website posts?
If I helped you with a problem, please give me +1 reputation. SwordGFX.ucoz.net<--- Register Please!!
|
|
| |
|
| Sunny | Date: Wednesday, 2009-04-15, 7:03 Am | Message # 82 |
Haunter
Group: Administrators
Messages: 2015
Awards: 121
Reputation: 139
Status: Online
| slicer, you can't put music as a signature.
I'm not "man", "sir" or whatever. I'm female! About signatures, screenshots etc...
|
|
| |
|
| TanKerK | Date: Wednesday, 2009-05-06, 4:00 Pm | Message # 83 |
|
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
| Hi i want reduce the sounds level at start but i don't found the code anyone can help me ? I have use volume=0 or other code but it don't work Code <div align="center"><script src="http://celestal.ucoz.com/media/?auto=1;small=0;color=0061aa;volume=10%;loop=1;textoff=0;t=audio;f=http%3A//celestal.ucoz.com/CraigArmstrong-EscapeRemixAnuncioSeatLeon.mp3" type="text/javascript"></script><div align="center"></div>
|
|
| |
|
| Armaros | Date: Wednesday, 2009-05-06, 6:19 Pm | Message # 84 |
Haunter
Group: Checked
Status: Offline
| Why don't you edit music file to make it fade in properly?
|
|
| |
|
| Borce_Macedon | Date: Saturday, 2009-06-06, 10:41 Pm | Message # 85 |
Curious
Group: Checked
Messages: 24
Awards: 0
Reputation: 0
Status: Offline
| Is there a way to change the size of the media player for the mp3 songs, because this one is too smaller Thanks.
|
|
| |
|
| Sunny | Date: Monday, 2009-06-08, 3:57 Am | Message # 86 |
Haunter
Group: Administrators
Messages: 2015
Awards: 121
Reputation: 139
Status: Online
| Borce_Macedon, that's not possible.
I'm not "man", "sir" or whatever. I'm female! About signatures, screenshots etc...
|
|
| |
|
| toni | Date: Sunday, 2009-06-14, 9:53 Am | Message # 87 |
|
Newbie
Group: Users
Messages: 2
Awards: 0
Reputation: 0
Status: Offline
| hello. is there a way to use the widget audio player to don't stop and refresh when the page changes or refreshes? and make it loop. thx. my website is http://aventurizilnice.ucoz.com
|
|
| |
|
| Armaros | Date: Sunday, 2009-06-14, 11:42 Am | Message # 88 |
Haunter
Group: Checked
Status: Offline
| toni, that's not possible unless music plays from pop-up window.
|
|
| |
|
| toni | Date: Sunday, 2009-06-14, 12:49 Pm | Message # 89 |
|
Newbie
Group: Users
Messages: 2
Awards: 0
Reputation: 0
Status: Offline
| ok, thx. would it be possible for me then to edit this code: Code <script> function openWindow() { muzWindow = open("http://www.ucoz.com/music.html", "newWindow", "width=300,height=300, status=no, toolbar=no, menubar=no"); } </script> so that it would open a widget in a new window, instead of a single song (the audio files widget). and if yes, wich would be the code then? thank you very much I kind of managed to do something. Thanks for the help though
Message edited by toni - Sunday, 2009-06-14, 1:17 Pm |
|
| |
|
| djpantz | Date: Tuesday, 2009-07-28, 8:19 Am | Message # 90 |
|
Newbie
Group: Users
Messages: 1
Awards: 0
Reputation: 0
Status: Offline
| Hi, 1 - I uploaded an mp3 from the file manager. 2 - Went to Builder and inserted a Audio Player blocka nd selected the file i uploaded. 3 - It plays but with lot of glitches and scratches.. what kud be the cause? I tried embedding a different player from a different site and it plays smoothly. But that player is too large for my site.. Can you pls tell how to fix the ucoz player glitch prob or different site to host the mp3? thankx
|
|
| |