Music on the Site - Additional Features - uCoz System management and tuning - uCoz Community
You logged in as Guest
Username/E-mail:
Recent messages · Members · Forum rules · FAQ · SEARCH Registration · Log in


We are in the second round! Let's keep voting!

Page 3 of 8«1234578»
uCoz Community » uCoz System management and tuning » Additional Features » Music on the Site (How to add music .mp3, playlist so on...)
Music on the Site
SunnyDate: Wednesday, 2008-03-19, 6:28 Am | Message # 1
Haunter
Group: Administrators
Messages: 2016
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:

Code
[audio] [/audio]

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...
  •  
    ArmarosDate: Tuesday, 2008-12-09, 12:56 Pm | Message # 31
    Haunter
    Group: Checked
    Status: Offline
    Forum:
    For the posts you can use [video][/video] tags & btw tags put url of youtube video.

    Main Page:
    You will have to use code which is given bellow. Go to: Control Panel ->
    -> Customize Design -> Site Pages. And place this code before </html>

    Code
    <embed src="---Music--Link---" width="144" height="60" autostart="true" loop="true" hidden="true"></embed>
    standouglasDate: Friday, 2008-12-19, 3:45 Pm | Message # 32
    Newbie
    Group: Users
    Messages: 2
    Awards: 1
    Reputation: 0
    Status: Offline
    The flash player that I use for webpages is this one:
    http://musicplayer.sourceforge.net/
    It is freeware and allows you to choose several formats and list several tracks that your user can select or play through automatically.

    I used to embed players, but often times they tend to load the entire mp3 before finishing the page. This one loads up quick.

    I have a sample here:
    My uCoz website

    The basic code is:
    <object type="application/x-shockwave-flash" width="400" height="170"
    data="http://yourdomain.com/xspf_player.swf?playlist_url=http://yourdomain.com/yourplaylistlist.xspf">
    <param name="movie"
    value="http://yourdomain.com/xspf_player.swf?playlist_url=http://yourdomain.com/yourplaylistlist.xspf" />
    </object>

    yourplaylistlist.xspf contains the list of mp3 tracks to play as well as an image to show along with the track.

    Ciao,
    Stan

    Message edited by standouglas - Saturday, 2008-12-20, 2:37 Pm
     
    gabrielamariaDate: Friday, 2009-01-09, 6:26 Pm | Message # 33
    Newbie
    Group: Users
    Messages: 3
    Awards: 0
    Reputation: 0
    Status: Offline
    Hellooooo Ucoz !!Well please admin help me....i have a big big problem...i want to change the colour of my player on my site....Ok...so i use the bb-codes,i upload the song from multimedia ..from my pc,good then next i copy-and past the code on the main page there,and the player it is on my maine page BUT BLUE!!!! how i must to do to change my colour (i want the red colour) for my playerr....please ucoz help me it`s urgent!!!!!!!!Please!!Im waitin an ansswer!Maira. cry
     
    ArmarosDate: Friday, 2009-01-09, 7:29 Pm | Message # 34
    Haunter
    Group: Checked
    Status: Offline
    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>
    Change 005e9 part. Colour codes you can find in this site: http://html-color-codes.info
    I do suggest you to use HTML panel better if you're adding via an entry of the main page.
    gabrielamariaDate: Friday, 2009-01-09, 7:43 Pm | Message # 35
    Newbie
    Group: Users
    Messages: 3
    Awards: 0
    Reputation: 0
    Status: Offline
    and the html panel where is?please some help?!?! wacko
     
    ArmarosDate: Friday, 2009-01-09, 9:08 Pm | Message # 36
    Haunter
    Group: Checked
    Status: Offline
    If you're adding via entry at the main page than you can select panel and right side of entry window after you clicked on 'Add new entry'.
    Hairy1515Date: Monday, 2009-01-19, 1:41 Am | Message # 37
    Newbie
    Group: Users
    Messages: 1
    Awards: 0
    Reputation: 0
    Status: Offline
    Can soeme please help me.. i have tried putting music on my site various ways... ive used BBS codes.. ive used JS... i even created my own play list and tried to put te HTML code in it but when ever i put save content and then look at page.. it shows the acuall HTML code, not the thing i wanted it to show.. and yes i do put [ video ] [ /video ] and or audio... ive also uploaded in ucoz.. and pasted the exact BBS code.. and it still does not work.. can someone seriously help me please... my site is...
    ClanuNk.ucoz.com

    Message edited by Hairy1515 - Monday, 2009-01-19, 1:47 Am
     
    SunnyDate: Monday, 2009-01-19, 3:32 Am | Message # 38
    Haunter
    Group: Administrators
    Messages: 2016
    Awards: 121
    Reputation: 139
    Status: Online
    Hairy1515, make sure that you use the necessary editing mode. If you paste a BB code you must enable BB Codes Panel, and use HTML Codes Panel for HTML codes.

    I'm not "man", "sir" or whatever. I'm female!
    About signatures, screenshots etc...
     
    SunnyDate: Tuesday, 2009-01-20, 3:14 Am | Message # 39
    Haunter
    Group: Administrators
    Messages: 2016
    Awards: 121
    Reputation: 139
    Status: Online
    Hairy1515, read attentively the first post of the thread

    Quote (Sunny)
    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).


    I'm not "man", "sir" or whatever. I'm female!
    About signatures, screenshots etc...
     
    cokoboyDate: Thursday, 2009-01-22, 10:07 Pm | Message # 40
    Regular
    Group: Checked
    Messages: 40
    Awards: 0
    Reputation: 8
    Status: Offline
    Quote (Sunny)
    small=1 – will display a small player of two buttons.

    Hey Sunny, is it possible to change the color of the buttons if I use "small=1" I changed the code here: <script src="http://cokorox.ucoz.net/media/?auto=0;small=1;color=708090;loop=0;textoff=1;t=audio;f=http%3A%2F%2Fcokorox.ucoz.net%2FCOD5Credits.mp3" type="text/javascript"></script>

    but the play button is still green.



    My site:
    .::CoKoRoX - Cokotizing your Entertainment::.
     
    SunnyDate: Friday, 2009-01-23, 3:58 Am | Message # 41
    Haunter
    Group: Administrators
    Messages: 2016
    Awards: 121
    Reputation: 139
    Status: Online
    cokoboy, unfortunately that's not possible.

    I'm not "man", "sir" or whatever. I'm female!
    About signatures, screenshots etc...
     
    DJ__STAFFDate: Thursday, 2009-02-12, 5:14 Pm | Message # 42
    Newbie
    Group: Users
    Messages: 1
    Awards: 0
    Reputation: 0
    Status: Offline
    Hey man i need some help i have problems when i wants to add background music

    Code
    <bgsound src="http://audix.ucoz.net/R.Kellyft.Usher-SameGirl.mp3" loop=5 volume=0 balance=0>

    its will not work can some one help me plzz
     
    SunnyDate: Friday, 2009-02-13, 3:37 Am | Message # 43
    Haunter
    Group: Administrators
    Messages: 2016
    Awards: 121
    Reputation: 139
    Status: Online
    DJ__STAFF,

    1. Not all browsers support bgsound.
    2. Read attentively - format - .wav .mid
    3. In your code volume=0 - how are you going to hear it then?


    I'm not "man", "sir" or whatever. I'm female!
    About signatures, screenshots etc...
     
    gabrielamariaDate: Saturday, 2009-02-14, 2:48 Pm | Message # 44
    Newbie
    Group: Users
    Messages: 3
    Awards: 0
    Reputation: 0
    Status: Offline
    hya ...i want to ask if smbdy knows a site or something from where i can take a playlist but...i want to specificate:i want to upload my own mp3's inside playlist and of course to be free..smbdy knows?pls hlp.:)
     
    ArmarosDate: Saturday, 2009-02-14, 4:10 Pm | Message # 45
    Haunter
    Group: Checked
    Status: Offline
    http://playlist.com ?
    uCoz Community » uCoz System management and tuning » Additional Features » Music on the Site (How to add music .mp3, playlist so on...)
    Page 3 of 8«1234578»
    Search: