Discussion Forums  >  Uncategorized

Replies: 1    Views: 491

Vali
buzztouch Evangelist
Profile
Posts: 193
Reg: May 22, 2011
Bucharest
5,830
12/11/11 03:23 AM (14 years ago)

Audio player control resize

Hi, I'm building a Christmas oriented app now and I have some popular carols embedded inside some custom HTML pages. I managed to insert the controller so the user can play and pause the song, but it is too small, so kind of hard for a user to press on the play button. Here's the code for the player if anybody else wants it: <p align=center> <audio controls=controls id=audio loop=loop src=http://www.second-skin.ro/colinde/brad.mp3 tabindex=0><span style=color: rgb(0, 0, 0);> </span></audio><span style=color: rgb(0, 0, 0);> </span></p> <p style=text-align: center;> <script type=text/javascript> window.onload = function() { var audioPlayer = document.getElementById(audio); audioPlayer.load(); audioPlayer.play(); }; </script></p> And here is a print screen of what it looks like: http://dl.dropbox.com/u/10939844/Colinde/photo.PNG Any ideas? Thx, Vali
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
12/13/11 12:27 AM (14 years ago)
Hey Vali, Maybe try adjusting the initial scale property in a meta tag and reduce the font size used for your page? View a Custom HTML page after hitting the source button in the text editor for meta tag examples.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.