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 2 of 8«123478»
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-09-16, 8:36 Am | Message # 16
    Haunter
    Group: Checked
    Status: Offline
    Upload it in file manager. Than take link &

    Quote
    <embed src="---Music--Link---" width="144" height="60" autostart="true" loop="true" hidden="true"></embed>
    FastWebDate: Saturday, 2008-10-18, 4:21 Am | Message # 17
    Newbie
    Group: Users
    Messages: 1
    Awards: 0
    Reputation: 0
    Status: Offline
    how i can put on my site a radio station ?
     
    ArmarosDate: Saturday, 2008-10-18, 4:27 Am | Message # 18
    Haunter
    Group: Checked
    Status: Offline
    FastWeb, find site which provides it; there will be code as well & if you wont know where to put it, than you come here & we'll tell you.
    dj_tectyDate: Sunday, 2008-11-09, 10:35 Am | Message # 19
    Newbie
    Group: Checked
    Messages: 2
    Awards: 0
    Reputation: -5
    Status: Offline
    One question, sing a song in all pages or just where that is added?

    Dj
     
    ArmarosDate: Sunday, 2008-11-09, 2:02 Pm | Message # 20
    Haunter
    Group: Checked
    Status: Offline
    Quote (dj_tecty)
    One question, sing a song in all pages or just where that is added?
    All depends where you add it.
    iLeeDate: Tuesday, 2008-11-25, 12:47 Pm | Message # 21
    Constant
    Group: Checked
    Messages: 197
    Awards: 0
    Reputation: 0
    Status: Offline
    How would you make it so it starts playing on the homepage but then when you go to the forum or a different site it doesn't stop or reset...

    Use your brain before you post ~Lee
    Please use search, ~Lee
     
    ArmarosDate: Wednesday, 2008-11-26, 0:28 Am | Message # 22
    Haunter
    Group: Checked
    Status: Offline
    iLee, that wont be possible, because going to forum blog etc. is different page of web-site, which contains different code.
    SunnyDate: Wednesday, 2008-11-26, 3:26 Am | Message # 23
    Haunter
    Group: Administrators
    Messages: 2016
    Awards: 121
    Reputation: 139
    Status: Online
    iLee, to do this your player must open in a new (pop-up) window.

    I'm not "man", "sir" or whatever. I'm female!
    About signatures, screenshots etc...
     
    th0rss0nDate: Tuesday, 2008-12-02, 12:25 Pm | Message # 24
    Newbie
    Group: Users
    Messages: 9
    Awards: 0
    Reputation: 0
    Status: Offline
    HI all, i want some help putting a media payer on my website that is in it´s own tab on the website,m so when you move to that tab the music starts and only then, nothing else, i also want to be able to put in my own song from my computor into the media player as a playlist. I am not to good with neither html or java so it would be awesome if someone could script me a finished code just for me to add and then let me know how i am to use it. thx for the great work you all put down into this
     
    ArmarosDate: Wednesday, 2008-12-03, 6:12 Pm | Message # 25
    Haunter
    Group: Checked
    Status: Offline
    th0rss0n, if you do not have any knowledge, than use music-players which are provided all over the net for free.
    th0rss0nDate: Wednesday, 2008-12-03, 8:02 Pm | Message # 26
    Newbie
    Group: Users
    Messages: 9
    Awards: 0
    Reputation: 0
    Status: Offline
    this link you have posted here gives me 2 other links mainly and they dont do what i want to do, they dont offer me to get my OWN music from my comp and play it through a media player on the website. i wanna play the music that i got on my hard drives on my website, not choose a selection of songs that they got listed or something like that.
     
    ArmarosDate: Thursday, 2008-12-04, 8:14 Am | Message # 27
    Haunter
    Group: Checked
    Status: Offline
    1. Upload your song to your uCoz site.
    2. Create a play list at http://playlist.com
    3. Choose 'Add URL/Link Direct to Playlist'.
    4. Add all songs you need/want.
    5. Get code of play-list & modify if needed.

    You do not have expierience. I do believe better for you is to use this play-list.
    You are able to add your own songs, as you wanted & it is easy to manage it.

    imadeasiteDate: Sunday, 2008-12-07, 3:30 Pm | Message # 28
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: 0
    Status: Offline
    im lost.. i dont know where do i have to put this BB code or something sad sad im new btw..
     
    ArmarosDate: Sunday, 2008-12-07, 6:04 Pm | Message # 29
    Haunter
    Group: Checked
    Status: Offline
    imadeasite, explain where you wish to put music? In the forum as post or in the site? smile
    imadeasiteDate: Tuesday, 2008-12-09, 11:13 Am | Message # 30
    Newbie
    Group: Users
    Messages: 2
    Awards: 0
    Reputation: 0
    Status: Offline
    Quote (Armaros)
    imadeasite, explain where you wish to put music? In the forum as post or in the site? smile
    well i wanted to put like to the main page :/ and if its possible then in the forum too biggrin

    Message edited by imadeasite - Tuesday, 2008-12-09, 11:14 Am
     
    uCoz Community » uCoz System management and tuning » Additional Features » Music on the Site (How to add music .mp3, playlist so on...)
    Page 2 of 8«123478»
    Search: