English

Data-Info

                 

General 참고 - Modified Music Player

2010.02.02 06:40

운영자 Views:271

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 6354
Notice How to Upload Pictures in webpages 운영자 2016.07.06 2019.12.31 1296
Notice How to Write a Webpage 운영자 2016.06.28 2017.07.19 1646
Notice Brief Instruction of using SNUMA Website 운영자 2008.04.28 2016.06.28 1568
38 Flat Icons [1] 운영자 2021.06.30 2023.08.06 455
37 Where To Find The Windows Wallpaper Location On Your PC 운영자 2021.02.13 2021.02.13 552
36 Johns Hopkins COVID19 Dashboard [2] 이한중*65 2020.05.10 2020.06.01 1909
35 A case Report of Acute Myeloid Leukemia [4] file 운영자 2019.12.31 2020.04.14 837
34 LW-SNUMAC Banner file 운영자 2019.05.14 2019.05.14 531
33 Death In the mountain - Story of Marty Schmidt [1] 운영자 2017.05.04 2017.07.11 2001
32 한국을 둘러싼 국제 정치 의 현주소 이건일*68 2017.01.08 2017.01.08 711
31 PC Keyboard Shortcuts You Need to Know [1] 운영자 2016.06.29 2016.07.09 821
30 Missing Language Bar 운영자 2015.05.17 2015.05.17 1304
29 dl, dt [1] 운영자 2015.01.20 2018.09.09 319
28 dt, dl codes 운영자 2013.11.17 2018.09.06 343
27 New "Sam-Kook-Ji" Drama Series, in Korean [5] 운영자 2012.09.06 2012.09.06 1225
26 When your computer is taken over by a virus 운영자 2011.06.19 2011.06.19 485
25 Retirement Savings and Distribution [1] 운영자 2011.05.05 2011.05.05 678
24 YouTube Video by Embed Tag [11] 운영자 2011.03.29 2016.07.03 815
23 Mahjong Basics [1] 운영자 2010.12.23 2010.12.23 485
22 PhotoWorks Program file 운영자 2010.10.18 2010.10.18 425
21 Good looking fancy fonts [3] 운영자 2010.10.09 2016.07.03 702
» 참고 - Modified Music Player 운영자 2010.02.02 2010.02.02 271
19 Error..: fread(): Length parameter must be greater than 0 운영자 2009.11.14 2009.11.14 17088