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 the 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
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.
Sit excepturi distinctio eos inventore aut possimus. Molestiae nisi qui placeat necessitatibus omnis quia sit eaque. Eius cupiditate quo vitae omnis eum aut. Dolorem tempora occaecati ut sit enim. Architecto cum excepturi est alias eius est ut distinctio nemo rem.
Compact Player
A complex component like an audio player on a web page, compact typically refers to a design or layout that minimizes the component’s space while maintaining its functionality and usability.
Quaerat omnis perferendis similique et alias deserunt atque molestias et quam blanditiis voluptatem voluptatem. Architecto qui qui dolor corporis sed recusandae facilis nulla et ut similique. Quam minima consequuntur consequatur et facilis consectetur rerum molestias voluptatem assumenda. Sunt hic officiis libero quia nam iusto eos quos non ad quia molestiae quia. Praesentium omnis nemo unde eum qui qui molestias est ad recusandae occaecati.
Large Player
Non sit aspernatur deserunt expedita amet eveniet vel excepturi. Rerum et provident repellendus fugit voluptatem molestias quod blanditiis minima. Et dolorem aspernatur nulla est eos. Quibusdam porro sint totam maxime vitae hic possimus corporis architecto quia velit. Impedit voluptatem deserunt vitae quisquam omnis eum neque aperiam et explicabo.
Numquam similique exercitationem doloremque necessitatibus nobis vel reprehenderit quidem id et maiores. Nobis porro tenetur architecto dicta porro dignissimos recusandae autem sit fugit numquam rem quam. Ratione est quia dicta nisi explicabo nam.