![]() ![]() Get the flag that indicates whether the playlist has finished playback. Get the index of the currently playing track. Get the player instance associated with the playlist. Get / set the flag that indicates whether playback should start after selecting another track in the playlist, regardless if the playlist is paused or not. This will remove all internally registered event handlers and call stroy(). stroy() ĭestroy the player instance and do the appropriate clean up. This will start playback of the selected track regardless if the playlist is currently paused.Ī promise that resolves to the playlist instance on which the method was called. The index of the track in the playlist that should be selected. const playlist = await lect(track, forcePlay) This will start playback of the previous track regardless if the playlist is currently paused.Ī promise that resolves to the playlist instance on which the method was called. Skip to the previous track in the playlist. const playlist = await playlist.previous(forcePlay) This will start playback of the next track regardless if the playlist is currently paused.Ī promise that resolves to the playlist instance on which the method was called. const playlist = await playlist.next(forcePlay) ReturnsĪ promise that resolves to the playlist instance on which the method was called. This will pause playback and set the first track in the playlist as the current track to play. const playlist = await playlist.prepare() See the Strategies section for more information on the available strategies and how to use them.Ī fully initialised Playlist instance that can be used to load and play multiple audio files in succession. Moreover, you can now inject your custom track information (using a WordPress filter) and use them in the interface the way you like.Import ]Īn array of objects, where each object references an URL or path to an audio file and a strategy data object that instructs how to resolve the amplitude data associated with the audio file. We also added two new factory placeholders, product_id and product_url that you can use in the player to point to your product pages. The placeholders used in the info bar and the playlists have been restructured in a way that will expand the possibilities of customization. ![]() The new Loading Mode option allows you to select what is the best loading strategy for your website: in addition to the default mode, where instances of the player get loaded all at once, you now have the possibility to load the instances one by one. You now have the possibility to generate them with a batch process in the Maintenance page of the Settings.įont Awesome 5 brings their famous icons to a new level of design quality. Working with the peak files has never been that easy. peak files for an instantaneous access to the audio waveforms.full integration with WooCommerce, including batch creation of products from tracks and albums.full integration with the Media Manager and visual creation of playlists.responsive interface, with a modern looking style.ideal for your Music and Podcast websites.With WavePlayer you are free to host your own tracks, breaking the limitations imposed by most of the free music cloud services available on the market, but without renouncing to a cool, modern player that you can customize to best match the look of your website. Its interface is built around the waveform of the audio file that is playing back. WavePlayer is a fully customizable, responsive HTML5 audio plugin for WordPress.
0 Comments
Leave a Reply. |