![]() ![]() You can call the following JavaScript function to goto the second and fifth song and play:Ī(1, true) Ī(4, true) You can call the following JavaScript function to play/pause the player:Ī() Ī() Thank you for any information you can provide on this matter. Is it possible to create a text link on a given page that will effect a play/pause action in the Amazing Audio Player on that page? I have purchased your Amazing Audio Player commercial version. Posted in HTML5 Audio Player, jQuery Audio Player Play/pause audio player inside an iframe They will be replaced by each audio id, title and audio URL dynamically. In the above code, %ID%, %TITLE% and %AUDIOURL% are predefined macro variables. In Amazing Audio Player, step 2, Skins dialog, Tracklist tab, change the value of Track list item format to the following text: Step 2 – Customise the Player skin and add download links In this tutorial, we are going to use the skin DarkBox and add download links to the playlist. If it’s your first time to use Amazing Audio Player, please view for a quick start. Step1 – Create Audio Player in Amazing Audio Player This tutorial is for Amazing Audio Player Version 2.6 and above. This tutorial will guide you how to add download links in Amazing Audio Player, so your visitor can directly download the mp3 files from the audio player. We will also add some typography js-controls. The styles are almost the same as in the other steps, we will position it, add a fixed width/height values and a background image. To finish the audio player we will add a time tooltip that will appear when we hover over the progress bar. Try Startup App Try Slides App Other Products. With Startup App and Slides App you can build unlimited websites using the online website editor which includes ready-made designed and coded elements, templates and themes. We will position the “pause/play” buttons and “mute/unmute” buttons in the same position and they will toggle on click event. To do it we will start by giving some general styles to the buttons and then we’ll set a fixed width and height. ![]() Now we will style the player controls (play/pause, mute/unmute). Let’s position the title and cover on the player container and then add some typography styles for the title.įont-family: Helvetica, Arial, sans-serif Now let’s style the player container, we will set the width to 400px and height to 120px. You can set some settings too, for more info read the “MediaElement.js” documentation.įeatures: ,įirst let’s add some reset styles for all the elements that we will use in the container. Also we need to add the same id as we used in the tag to load the player. To finish we need to add this code before the ending of the tag. With Postcards you can create and edit email templates online without any coding skills! Includes more than 100 components to help you create custom emails templates faster than ever before. Then we will add the tag that will link to our song and we’ll also set the id to “audio-player”. Let’s add a tag for the song title and for the cover. This div will be the container for our player elements. To create the player we will add a width the class “audio-player”. All this three files need to be inside of the tag. Then we need to link to “” script file and the CSS file. Now, we need to link to the jQuery Library, we can host it locally or use the one hosted by Google. Then copy all these three files to the same directory, I will copy for my “js” folder. Then from the “build” folder we need three files: Download Audio Player Step 1 – Downloading MediaElement.jsįirst we need to download the “MediaElement.js” script and extract it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |