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 1 of 812378»
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: Offline
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...
  •  
    l2viruzDate: Sunday, 2008-04-13, 10:02 Am | Message # 2
    Regular
    Group: Checked
    Messages: 57
    Awards: 0
    Reputation: 12
    Status: Offline
    In my site http://l2viruz.ucoz.com i have placed background music which can only be listened through IE.and not firefox and toher browsers.
    That problem happens with Floating banner and scrolling images.Please fix it!
     
    KronDate: Monday, 2008-04-14, 4:10 Am | Message # 3
    uCoz Admin
    Group: Administrators
    Messages: 170
    Awards: 6
    Reputation: 45
    Status: Offline
    l2viruz, your problem arises only because of your awful dirty HTML!

    you add <META tag to the bottom of a page!

    this code will work even in your pages:

    Code
    <script src="http://forum.ucoz.com/media/?auto=1;small=1;color=0055e9;loop=1;textoff=0;t=audio;f=http%3A//www.billbrownmusic.com/soundBB/L2_Trailer-FullMix.mp3" type="text/javascript"></script>
     
    evertsDate: Tuesday, 2008-04-15, 9:29 Am | Message # 4
    Regular
    Group: Users
    Messages: 45
    Awards: 0
    Reputation: -1
    Status: Offline
    ADMIN PANEL > MULTIMEDIA > UPLOND AUDIO MP3 >> ( BB code ) <<
    Quote (uCoz)
    l2viruz, your problem arises only because of your awful dirty HTML!

    haha

     
    maxi031Date: Wednesday, 2008-04-16, 7:39 Am | Message # 5
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: 0
    Status: Offline
    Here is Some good site where you can grab owesome flash mp3 players for your form Player on your Site.
    Also you can search there and add your mp3 music.
    I hope it`s usefull

    Sry on bad english
     
    Lilbobbito4Date: Sunday, 2008-04-20, 2:16 Pm | Message # 6
    Newbie
    Group: Users
    Messages: 1
    Awards: 0
    Reputation: 0
    Status: Offline
    Ok.... im having some problems with this...

    when i try to use BB codes it will just put

    Code
    [audio]...[/audio]
    on my page, it won't give me the actual player like this says...

    like ill get

    Code
    [audio]http://www.musicuploader.org/MUSIC/9156131205783306.mp3[/audio]

    actually on my page, not the song that is supposed to play (Lil Wayne; Lollipop)

     
    KronDate: Monday, 2008-04-21, 3:13 Am | Message # 7
    uCoz Admin
    Group: Administrators
    Messages: 170
    Awards: 6
    Reputation: 45
    Status: Offline
    Lilbobbito4, I've tried your code and got no problem.

    I guess you have to update Adobe Flash Player for your browser ( http://www.adobe.com/products/flashplayer/ )

     
    x_acad_xDate: Thursday, 2008-04-24, 10:55 Am | Message # 8
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: 0
    Status: Offline
    Good evenings, queria to know the way of, in the same reproductive flash, which this one with this code:
    Code
    <script src="http://emulost.ucoz.com/media/?auto=0;small=0;color=0055e9;loop=0;textoff=0;t=audio;f=http%3A//emulost.ucoz.com/music/ApolloFourForty-CharliesAngelsSoundtrack.mp3" type="text/javascript"></script>

    to know since. I do in order that it could go on from a track to other one, instead of placing another breeding player for every song.

    Salu2 happy

     
    spawnerDate: Saturday, 2008-05-03, 7:04 Am | Message # 9
    Newbie
    Group: Users
    Messages: 1
    Awards: 0
    Reputation: 0
    Status: Offline
    hey, www.spawnerscss.ucoz.com i want to make so one of the songs starts and when that over an other one starts automaticly.
    Hoooooooooooooooooooow?

    Bam Bam Bam Baaaaaaaaaaaaaaaaaam
     
    kudeeeDate: Sunday, 2008-05-25, 4:45 Am | Message # 10
    Newbie
    Group: Users
    Messages: 9
    Awards: 0
    Reputation: 1
    Status: Offline
    Code
    <script language="JavaScript"><!--
    if(navigator.appName=="Netscape"){
    document.write('<embed src="http://uefa.oo.lv/uefaclh-01.wav" autostart="true" loop="true" hidden="true"></embed>');}
    else if(navigator.appName=="Microsoft Internet Explorer"){
    document.write('<embed src="http://uefa.oo.lv/uefaclh-01.wav" autostart="true" loop="true" hidden="true"></embed>');}
    else{
    document.write('<embed src="http://uefa.oo.lv/uefaclh-01.wav" autostart="true" loop="true"></embed>');}
    //-->
    </script>
    <noscript><embed src="http://uefa.oo.lv/uefaclh-01.wav" autostart="true" loop="true"></embed></noscript>
    <noembed><bgsound src="http://uefa.oo.lv/uefaclh-01.wav" loop=true></noembed>

    iT WORKS FOR mOZILLA TOO AND YOU CAN PUT MP3 MUSIC

     
    Hack-TrilogyDate: Thursday, 2008-08-28, 3:05 Am | Message # 11
    Newbie
    Group: Users
    Messages: 9
    Awards: 0
    Reputation: 2
    Status: Offline
    how to hide that audio player?i dont want anyone to see it...just hear a music...can i do that?what to code of it?

    .Hack//Trilogy . This Is My Site . Enjoy!
     
    ArmarosDate: Thursday, 2008-08-28, 5:08 Am | Message # 12
    Haunter
    Group: Checked
    Status: Offline
    Add in red:

    Quote
    <embed src="---Music--Link---" width="144" height="60" autostart="true" loop="true" hidden="true"></embed>
    emokidDate: Tuesday, 2008-09-16, 5:16 Am | Message # 13
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: -1
    Status: Offline
    OKEY i added player but how can turn it when somebody opens my web page,and it aoutomaticaly starts playing?i didnt get that

    Message edited by emokid - Tuesday, 2008-09-16, 5:21 Am
     
    ArmarosDate: Tuesday, 2008-09-16, 8:10 Am | Message # 14
    Haunter
    Group: Checked
    Status: Offline
    Quote
    <embed src="---Music--Link---" width="144" height="60" autostart="true" loop="true" hidden="true"></embed>
    emokidDate: Tuesday, 2008-09-16, 8:33 Am | Message # 15
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: -1
    Status: Offline
    and how can add my own songs?
     
    uCoz Community » uCoz System management and tuning » Additional Features » Music on the Site (How to add music .mp3, playlist so on...)
    Page 1 of 812378»
    Search: