خرید بک لینک
Flash is going away, looking to get rid of old music player..

I currently use a flash music player with this code:


Code:

<!DOCTYPE html>
<html debug="true">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>. . :][test][: . . </title>

</head>

<body>
<center>
<object class="playerpreview" type="application/x-shockwave-flash" data="/music/mp3_player.swf" height="20" width="200">
<param name="FlashVars" value="config=/music/playersettings/test_mp3.txt">
</object>
</center>
</body>
</html>

it uses a text file (test_mp3.txt) for the information which is this:

Code:

mp3=/music/test.mp3
showinfo=0
showstop=1
showvolume=1
width=300
height=30
sliderwidth=20
sliderheight=10
buttonwidth=30
bgcolor=BCCAD8
bgcolor1=BCCAD8
bgcolor2=BCCAD8
buttoncolor=DBF2F3
buttonovercolor=DBF2F3
slidercolor1=DBF2F3
slidercolor2=DBF2F3
sliderovercolor=DBF2F3

autoplay=1
loop=1

The text file makes it easy to change the colors and I like how it looks (picture attached)

I've switched some pages to this html5 audio player: MediaElement.js - HTML5 video and audio unification framework but it doesn't fit my pages cosmetically. (picture attached)

Is there any players that are current that can look like my old flash player?
Attached Thumbnails
Click image for larger version. 

Name:	flashplayer.PNG 
Views:	N/A 
Size:	760 Bytes 
ID:	17711   Click image for larger version. 

Name:	mediaelement.js.PNG 
Views:	N/A 
Size:	1.6 KB 
ID:	17712  

برچسب: نویسنده: آیلین رضوانی تاريخ: دوشنبه 2 بهمن 1396 ساعت: 18:47

صفحه بندی