Mount Kato

QuickSearch

The Audio tag in HTML5 is a great way to add audio media to web pages. However, the browser fully controls the audio playback interface, which can limit or even break a page’s design if audio media is used.

AmplitudeJS for J1 Template offers a straightforward solution for web developers. It allows them to easily customize the appearance of their audio players without the need for complex scripting. By leveraging J1 Template and Amplitude’s API, web designers can craft unique interfaces that define the visual and functional aspects of a player’s audio control elements.

5-10 Minutes to read

HTML 5 Audio

Audio players can easily be embedded in web pages using the audio tag <audio>. Browsers have a built-in framework for decoding and playing audio content directly within a webpage.

Ambient Piano
Your browser does not support the audio tag.

AmplitudeJS Audio

The J1 Template implements custom players based on the (default) theme Uno. The color scheme used matches the look and feel of the template to preserve the page design.

Three types of AmplitudeJS players are build-in for the J1 template system:

  • Mini Player

  • Compact Player (default payer)

  • Large Player

Amplitude players for the J1 Template are mobile-friendly. Instead of clicking on the appropriate elements, touch events are applied to all mobile devices.

Mini Player

In the context of complex components on a web page, like an audio player, a mini player refers to a minimized version of full players. It typically offers basic playback controls, such as pause, play, and volume adjustment, while taking up less screen space.

Mini players are beneficial when you want to listen to audio in the background without dedicating the entire screen to the player. They are commonly found on music streaming services, podcast platforms, and websites with embedded audio content.

Emancipator · From Dusk To Dawn
Royalty Free Music · Disco 80th

Quia similique sint autem soluta sint sit odio nemo quia. Tenetur quis omnis at quaerat non magnam quia voluptates optio. Labore voluptatibus voluptatem non sunt harum molestiae consequatur eum distinctio odio dignissimos voluptas dolores aliquam. Est corporis asperiores quidem possimus. Ad qui et odio.

Compact Player

The design of a Compact player is an efficient approach that involves condensing the player controls and display elements into a smaller area. It allows the audio player to fit neatly within the web page’s layout without overwhelming or dominating the content around it.

The player aims to balance functionality and space efficiency, ensuring users can easily access and control the audio playback without sacrificing too much screen space or placing multiple players side-by-side.

Emancipator · From Dusk To Dawn
Royalty Free Music · Disco 80th

Rerum porro ut possimus suscipit. Modi deleniti pariatur qui laboriosam eveniet autem aut natus consequuntur. Iste dolore aspernatur repellat labore sed non qui. Minima delectus veniam ducimus aut rerum commodi minus ullam tenetur quis. Architecto tenetur qui praesentium dolorem accusamus dolore ex molestiae voluptatem sed dolor in praesentium.

Spontanorama 2024 (compact)

Large Player

A complex component, like an audio player on a web page, typically refers to a design or layout that minimizes the component’s space while maintaining its functionality and usability.

The large design provides the full functionality of an audio player to ensure users can easily control audio playback. The player behaves similarly to a compact player, but all controls are displayed in a single window; there is no need to open other widgets.

Emancipator · From Dusk To Dawn

Est aperiam enim temporibus ut ut sed dolorem occaecati ab magnam laborum eveniet animi eligendi. Voluptatem cum voluptates sit tempore. Illum adipisci suscipit omnis quos sed est. Sed eum temporibus et perferendis quo exercitationem quo et aut dignissimos aut in deleniti quo. Suscipit facilis sunt enim labore possimus sunt enim aliquam aut nam dolores.

Royalty Free Music · Disco 80th

Atque culpa sapiente enim suscipit consequatur neque ut totam et voluptatum harum reprehenderit. Maiores nihil tenetur iusto tempore tempore id soluta quod fugit eos. Sit odit aut consectetur. Et odit aut quo modi nihil ut illo sunt quod. Libero quo aut laborum reprehenderit impedit deleniti labore repudiandae labore quis.

Spontanorama 2024 (large)

What next

I hope, you’ve enjoyed exploring the possibilities J1 offers for playing digital audio content. But much, much more can the J1 Templte do for your web in terms of multimedia.

The Template support playing video on web pages by using the HTML5 video support, the new standard of HTML. It implements a pure HTML way to playback videos on the web. All Modern browsers support the the HTML video tag <video> for the current HTML standard.

The previous proprietary de facto standard software like a Flash Player, Quicktime, or Silverlight is no longer needed as the Theme JekyllOne provides HTML5 video for local content and from online sources on the Internet.

Incredible? See the next example page Video Player.