English

Data-Info

                 

General 참고 - Modified Music Player

2010.02.02 06:40

운영자 Views:266

When we add music to our website, we have to consider that some readers may not like music in general or the particular music attached to the webpage, while reading the webpage.
It is a good idea to show the "player", so that the reader can have the choice of turning the music off or adjusting the volume of the music.
Some people attach a loud or high pitch music in maximum volume without player. Please remember that what you like is not necessarily loved by others.

So, please try to use the following codings.
Instead of volume="0", use volume="3" (not maximum but middle),
Instead of hidden="true", use hidden="false" and then write the dimension of width and height.

In current browsers and HTML, the default player is not much adjustable to our likings. We can only change the size with limited colors. 

Nowadays, there are a lot of attractive music players created as a part of SWF files but generally, these are proprietary and we can not adapt them to our own webpages.

Here are one series of modifications with a known song, with pure HTML codes without using SWF file. These may look a little better than what we used to have. You are welcome to try.

All you have to do is copying the codes below the player and replace the URL of the music file and change the size and color of the text about the song. Also change the "audio type" depending on the type of the audio file (wma or mp3...etc).


Typical, with larger text...

Stay with Me Till The Morning - Dana Winner

<div style="BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #ccc 1px solid; WIDTH: 350px; FONT-FAMILY: Arial; HEIGHT: 40px; FONT-SIZE: 14px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid">
<div style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dcdee9; HEIGHT: 18px; PADDING-TOP: 2px"><font size=2>Stay with Me Till The Morning - Dana Winner</font></div><embed height=28 type=audio/x-mpeg width=350 src=http://www.stevenkim.us/Music/Dana%20Winner%20-%20Stay%20With%20Me%20Till%20The%20Morning.mp3 autostart="1"></div>

With smaller characters...

Stay with Me Till The Morning - Dana Winner

<div style="BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #ccc 1px solid; WIDTH: 350px; FONT-FAMILY: Arial; HEIGHT: 40px; FONT-SIZE: 14px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid">
<div style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dcdee9; HEIGHT: 18px; PADDING-TOP: 2px"><font size=1>Stay with Me Till The Morning - Dana Winner</font></div><embed height=28 type=audio/x-mpeg width=350 src=http://www.stevenkim.us/Music/Dana%20Winner%20-%20Stay%20With%20Me%20Till%20The%20Morning.mp3 autostart="0"></div>

With darker characters...

Stay with Me Till The Morning - Dana Winner

<div style="BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #ccc 1px solid; WIDTH: 350px; FONT-FAMILY: Arial; HEIGHT: 40px; FONT-SIZE: 14px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid">
<div style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dcdee9; HEIGHT: 18px; PADDING-TOP: 2px"><font color=#0a0a0a size=1>Stay with Me Till The Morning - Dana Winner</font></div><embed height=28 type=audio/x-mpeg width=350 src=http://www.stevenkim.us/Music/Dana%20Winner%20-%20Stay%20With%20Me%20Till%20The%20Morning.mp3 autostart="0"></div>


With different colored text... (my personal preference)

Stay with Me Till The Morning - Dana Winner

<div style="BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #ccc 1px solid; WIDTH: 350px; FONT-FAMILY: Arial; HEIGHT: 40px; FONT-SIZE: 14px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid">
<div style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dcdee9; HEIGHT: 18px; PADDING-TOP: 2px"><font color=#1e2d92 size=1>Stay with Me Till The Morning - Dana Winner</font></div><embed height=28 type=audio/x-mpeg width=350 src=http://www.stevenkim.us/Music/Dana%20Winner%20-%20Stay%20With%20Me%20Till%20The%20Morning.mp3 autostart="0"></div>


With different colored text and full size player...

Stay with Me Till The Morning - Dana Winner

<div style="BORDER-BOTTOM: #ccc 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #ccc 1px solid; WIDTH: 350px; FONT-FAMILY: Arial; HEIGHT: 40px; FONT-SIZE: 14px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid">
<div style="TEXT-ALIGN: center; BACKGROUND-COLOR: #dcdee9; HEIGHT: 18px; PADDING-TOP: 2px"><font color=#1e2d92 size=1>Stay with Me Till The Morning - Dana Winner</font></div><embed height=45 type=audio/x-mpeg width=350 src=http://www.stevenkim.us/Music/Dana%20Winner%20-%20Stay%20With%20Me%20Till%20The%20Morning.mp3 autostart="0"></div>


By SNUMA WM - February 2, 2010
* 운영자님에 의해서 게시물 Copy (복사)되었습니다 (2010-02-02 14:34)
No. Subject Author Date Last Update Views
Notice How to write your comments onto a webpage 운영자 2016.07.06 2019.12.31 6318
Notice How to Upload Pictures in webpages 운영자 2016.07.06 2019.12.31 1261
Notice How to Write a Webpage 운영자 2016.06.28 2017.07.19 1581
Notice Brief Instruction of using SNUMA Website 운영자 2008.04.28 2016.06.28 1528
21 Basic Frame Templates - 진한 밖 테두리, 엷은색 배경 [1] 운영자 2010.02.27 2010.02.27 345
20 dt, dl codes 운영자 2013.11.17 2018.09.06 339
19 한국 동화 모음 (펌) 운영자 2008.04.09 2008.04.09 333
18 Basic Frame Templates - 단색 테두리와 배경 [1] 운영자 2010.02.27 2010.02.27 332
17 홈피에 사진 올리기 [1] 一水去士 2006.02.18 2006.02.18 331
16 Table Template 1 - Simple basic table frame [2] 운영자 2010.02.27 2010.02.27 329
15 Basic Frame Templates - 어두운 배경-밝은 글자 [1] 운영자 2010.02.27 2010.02.27 325
14 dl, dt [1] 운영자 2015.01.20 2018.09.09 314
13 HTML Basic Tag Study (4) Rosun 2005.07.09 2005.07.09 313
12 HTML Basic Tag Study (3) Rosun 2005.07.09 2005.07.09 311
11 HTML Basic Tag Study (2) Rosun 2005.07.09 2005.07.09 302
10 외국 동화 - 한글이나 영어로 읽고, 듣고, 보기 Rover 2009.01.13 2009.01.13 289
9 Website Revision 운영자 2008.06.20 2008.06.20 287
8 세계적인 거장 30인의 작품 모음 운영자 2008.04.09 2008.04.09 277
» 참고 - Modified Music Player 운영자 2010.02.02 2010.02.02 266
6 색상 고르기 (Choosing Color codes) [1] 운영자 2008.04.09 2008.04.09 263
5 Floating Balloons with Messages 운영자 2008.04.09 2008.04.09 261
4 홈피에 음악 올리기 一水去士 2006.02.18 2006.02.18 261
3 Marquee Lessons Lesson 2005.12.02 2005.12.02 257
2 ANSI Character Set 운영자 2008.04.09 2008.04.09 236