½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > ¿Àµð¿ÀÁ¦¾î > HTML5¸¦ ÀÌ¿ëÇÑ APlayer »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
HTML5¸¦ ÀÌ¿ëÇÑ APlayer
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù ¿Àµð¿ÀÁ¦¾î
´Ù¿î·Îµå Ƚ¼ö 149 ȸ
°£´Ü¼³¸í HTML5¸¦ ÀÌ¿ëÇÑ Music player (html5 ¸¦ ÀÌ¿ëÇÑ À½¾Ç Ç÷¹À̾î)
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ
Aplayer ´Â MIT ¶óÀ̼¾½º¸¦ ÁöÇâ ÇÕ´Ï´Ù.

Aplayer ´Â Html + JavaScript ·Î ±¸¼º µÇ¾î ÀÖ½À´Ï´Ù. 
 
<div id="aplayer1" class="aplayer"></div>
<script src="dist/APlayer.min.js"></script>
   
var ap = new APlayer({
    element: document.getElementById('aplayer1'),
    music: {
        title: 'Preparation',
        author: 'Hans Zimmer/Richard Harvey',
        url: 'Preparation.mp3',
    }
});
    

API¸¦ Á¦°øÇϱ⠶§¹®¿¡ °ü·Ã ±â´É üũ ¹× »ç¿ë¹ýÀ» ã±â°¡ Æí¸®Çϳ׿ä. 

APlayer ¿¡¼­ Á¦°øÇÏ´Â ±â´É Áß ¸¹ÀÌµé ¾²½Ã´Â ±â´ÉÀº °ÅÀÇ ´Ù Àֳ׿ä.
ap.play() // Resume play
ap.play(time) // Set currentTime
ap.pause() // Pause
ap.toggle() // Toggle between play and pause
ap.volume(percentage) // Set volume
ap.on(event, handler) // Event binding
ap.setMusic(index) // Switch music
ap.destroy() // Destroy this player
ap.addMusic(newMusics) // Add music dynamically, newMusics should be an array
ap.lrc // Lrc time and text
ap.playIndex // Current playing index
ap.audio // Return native audio, most native api are supported
ap.audio.currentTime // Returns the current playback position
ap.audio.loop // Returns whether the audio should start over again when finished
ap.audio.paused // Returns whether the audio paused
Most native api
  
¾ÆÂü ÀÚ¸·±â´É Lrc ±â´Éµµ ÀÖ±ä ÇÕ´Ï´Ù¸¸ ... ÇѶ¡ ÇѶ¡ ÅÍÄ¡°¡ ÇÊ¿äÇÒµí ÇÕ´Ï´Ù. ^^;
<div id="player1" class="aplayer">
    <pre class="aplayer-lrc-content">
       [00:00.00]øÁÛíñýÖØ - ÚÓ树
        [00:04.01]íÂ词£º韩ùÎ ÚÓ树
        [00:08.02]íÂÍØ£ºÚÓ树 编ÍØ£ºÚÓ树
        [00:12.02]ÛÇüàó·îÜ î¤ÖØß¾îÜ
        [00:17.37]你é©ñË吗
        [00:23.20]æ¶áïîÜ 骄çìó·
        <!-- ... -->
    </pre>
</div>

¾Æ·¡ÀÇ À̹ÌÁö´Â Ç÷¹ÀÌ¾î ½ºÅ©¸°¼¦ ÀÔ´Ï´Ù. ^^
  

  


 



³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
¿À ÁÁ¾Æº¸¿©¿ä! ¾î¶»°Ô »ç¿ëÇÏ´ÂÁö À߸ô¶ó¼­

°øºÎÇغ¸°Ú½À´Ï´Ù.
2020-10-12 10:17:33
¼³Áö¿î
Âù¼º 34
¹Ý´ë 36
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 15823662 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.