Music Player for WooCommerce
Features of the Music Player for WooCommerce, Dokan, WCFM Marketplace, and MultivendorX: ♪ Integrate a music player into the WooCommerce products, Dokan, WCFM Marketplace, and MultivendorX ♪ Includes an audio player that supports formats: OGA, MP3, WAV, WMA ♪ Supports M3U, M3U8 playlists ♪ Includes multiple skins for the Music Player ♪ Supports all most popular web browsers and mobile devices ♪ Includes a widget to insert a playlist on sidebars ♪ Includes a block to insert the playlists on pages using Gutenberg ♪ Includes a widget to insert the playlists on pages using Elementor ♪ Includes a widget for inserting the playlists on pages with Page Builder by SiteOrigin ♪ Includes a control for inserting the playlists on pages with BeaverBuilder ♪ Includes an element for inserting the playlists on pages with Visual Composer ♪ Includes a module for inserting the playlists on pages with DIVI Note: for the other editors, insert directly the playlists’ shortcodes. Music Player for WooCommerce includes the MediaElement.js music player in the pages of the products with audio files associated, and in the store’s pages. It allows the integration with the multivendor stores generated with Dokan, WCFM Marketplace, and MultivendorX. Furthermore, the plugin allows selecting between multiple skins. MediaElement.js is an music player compatible with all major browsers: Internet Explorer, Firefox, Opera, Safari, Chrome and mobile devices: iPhone, iPad, Android. The music player is developed following the html5 standard. The music player supports the following file formats: MP3, WAV, WMA and OGA. The basic version of the plugin, available for free from the WordPress Directory, has the features needed to include a music player in the pages of the products and the store. Premium Features Allows playing the audio files in secure mode to prevent unauthorized downloading of the audio files. Allows to define the percent of the audio file’s size to be played in secure mode. Supports integration with plugins: WooCommerce Dokan WCFM – Marketplace WC Vendors MultivendorX Advanced AJAX Product Filters by berocket Load More Products for WooCommerce by berocket Themify – WooCommerce Product Filter by Themify YITH WooCommerce Ajax Product Filter by YITH WOOF – Products Filter for WooCommerce by realmag777 Product Filter by WooBeWoo Support post_type like auctions, included by third-party plugins. And third-party players like: Compact Audio Player CP Media Player HTML5 Audio Player MP3 jPlayer Interface Global Settings of Music Players The global settings are accessible through the menu option: “Settings/Music Player for WooCommerce”. Include music player in all all products: checkbox to include the music player in all products. Include in: radio button to decide where to display the music player, in pages with a single entry, multiple entries, or both (both cases by default). Include players in cart: checkbox to include the music players on the cart page or not. Merge in grouped products: in grouped products, display the “Add to cart” buttons and quantity fields in the players rows. Player layout: list of available skins for the music player. Show a single player instead of one player per audio file. Preload: to decide if preload the audio files, their metadata, or don’t preload nothing at all. Play all: play all players in the page (one after the other). Loop: plays the audio player on the product page in a loop. Player controls: determines the controls to include in the music player. Visualizer: For “all controls” mode, display the visualizer component over the player. Display the player’s title: show/hide the name associated to the downloadable file. Protect the file: checkbox to playback the songs in secure mode (only available in the pro version of the plugin). Percent of audio used for protected playbacks: integer number from 0 to 100, that represents the percent of the size of the original audio file that will be used in the audio file for demo (only available in the pro version of the plugin). Apply the previous settings to all products pages in the website: tick the checkbox to apply the previous settings to all products overwriting the products’ settings. Google Analytics Integration Tracking id: Enter the tracking id in the property settings of Google Analytics account. Setting up the Music Players through the products’ pages The Music Players are configured from the products pages, the Dokan interface, WCFM Marketplace, and MultivendorX. Settings Interface Include music player: checkbox to include the music player in the product’s page, or not. Include in: radio button to decide where to display the music player, in pages with a single entry, multiple entries, or both (both cases by default). Merge in grouped products: in grouped products, display the “Add to cart” buttons and quantity fields in the players rows. Player layout: list of available skins for the music player. Show a single player instead of one player per audio file. Preload: to decide if preload the audio files, their metadata, or don’t preload nothing at all. Play all: play all players in the page (one after the other). Loop: plays the audio player on the product page in a loop. Player controls: determines the controls to include in the music player. Visualizer: For “all controls” mode, display the visualizer component over the player. Display the player’s title: show/hide the name associated to the downloadable file. Protect the file: checkbox to playback the songs in secure mode (only available in the pro version of the plugin). Percent of audio used for protected playbacks: integer number from 0 to 100, that represents the percent of the size of the original audio file that will be used in the audio file for demo (only available in the pro version of the plugin). Select my own demo files: checkbox to use different audio files for demo, than the audio files for selling (only available in the pro version of the plugin). Demo files: section similar to the audio files for selling, but in this case it allows to select different audio files for demo, and their names (only available in the pro version of the plugin). How the Pro version of the Music Player for WooCommerce protect the audio files? If the “Protect the file” checkbox was ticked in the product’s page, and was entered an integer number through the attribute: “Percent of audio used for protected playbacks”, the plugin will create a truncated copy of the audio files for selling (or the audio files for demo) into the “/wp-content/plugins/wcmp” directory, to be used as demo. The sizes of the audio files for demo are a percentage of the sizes of the original files (the integer number entered in the player’s settings). So, the users cannot access to the original audio files, from the public pages of the products. Music Player for WooCommerce – Playlist Widget The widget allows to include a playlist on sidebars, with the downloadable files associated to all products with the music player enabled, or for only some of the products. The widget settings: Title: the title of the widget on sidebar. Products IDs: enter the ids of products to include in the playlist, separated by comma, or the * symbol to include all products. Playlist layout: select between the new playlist layout and the original one. Player layout: select the layout of music players (the widget uses only the play/pause control) Preload: to decide if preload the audio files, their metadata, or don’t preload nothing at all. This attribute has a global scope, and will modify the default settings. Play all: play all players in the page (one after the other). This attribute has a global scope, and will modify the default settings. Highlight the current product: if the checkbox is ticked, and the user is in the page of a product, and it is included in the playlist, the corresponding item would be highlighted in the playlist. Continue playing after navigate: if the checkbox is ticked, and there is a song playing when navigates, the player will continue playing after loading the webpage, in the same position. Note: In mobiles devices where the direct action of user is required for playing audios and videos, the plugin cannot start playing dynamically. Music Player for WooCommerce – [wcmp-playlist] shortcode The [wcmp-playlist] shortcode allows to include a playlist on the pages’ contents, with all products, or for some of them. The shortcode attributes are: products_ids: enter the ids of products to include in the playlist, separated by comma, or the * symbol to include all products [wcmp-playlist products_ids="*"] title: enter the title text to display prominently above the playlist [wcmp-playlist products_ids="*" title="My Playlist"] product_categories: this feature enables you to load all products belonging to one or multiple categories at once, eliminating the need to enter their IDs individually. To filter by product categories, simply input their slugs, separated by commas [wcmp-playlist products_ids="*" product_categories="category-1,category-2"] product_tags: just like filtering by product categories, you can also filter products by tags. To do this, simply enter the tag slugs, separated by commas [wcmp-playlist products_ids="*" product_tags="tag-1,tag-2"] layout: allows to select the new or original layouts with the values: new or classic (“new” is the value by default) [wcmp-playlist products_ids="*" layout="new"] player_style: select the layout of music players (the playlist displays only the play/pause control) [wcmp-playlist products_ids="*" player_style="mejs-classic"] highlight_current_product: if the playlist is included in a product’s page, the corresponding item would be highlighted in the playlist [wcmp-playlist products_ids="*" highlight_current_product="1"] continue_playing: if there is a song playing when navigates, the player will continue playing after loading the webpage in the same position [wcmp-playlist products_ids="*" continue_playing="1"] Note: In mobiles devices where the direct action of user is required for playing audios and videos, the plugin cannot start playing dynamically. controls: allows to configure the controls to be used with the players on playlist. The possible values are: track or all, to include only a play/pause button or all player’s controls respectively: [wcmp-playlist products_ids="*" controls="track"] loop: plays all playlist items in an endless loop. The accepted values are: 1 or 0 [wcmp-playlist products_ids="*" loop="1"] cover: allows to include the featured images in the playlist. The possible values are: 0 or 1, 0 is the value by default [wcmp-playlist products_ids="*" cover="1"] purchased_only: includes only the audio files associated with the purchased products (Plugin commercial version) [wcmp-playlist products_ids="*" purchased_only="1"] purchased_products: generates the list of products purchased by the logged user (Plugin commercial version) [wcmp-playlist purchased_products="1"] Hooks (actions and filters) wcmp_before_player_shop_page: action called before the players containers in the shop pages. wcmp_after_player_shop_page: action called after the players containers in the shop pages. wcmp_before_players_product_page: action called before the players containers in the products pages. wcmp_after_players_product_page: action called after the players containers in the products pages. wcmp_audio_tag: filter called when the audio tag is generated. The callback function receives four parameters: the audio tag, the product’s id, the file’s id, URL to the audio file; wcmp_file_name: filter called when the file’s name is included with the player. The callback function receives three parameters: the file’s name, the product’s id, and the file’s id; wcmp_widget_audio_tag: filter called when the audio tag is generated as a widget on sidebars. The callback function receives four parameters: the audio tag, the product’s id, the file’s id, URL to the audio file; wcmp_widget_file_name: filter called when the file’s name is included with the player as a widget on sidebars. The callback function receives three parameters: the file’s name, the product’s id, and the file’s id; wcmp_purchased_product: filter called to know if the product was purchased or not. The callback function receives two parameters: false and the product’s id. wcmp_ffmpeg_time: filter called to determine the duration of truncated copies of the audio files for demos when the FFmpeg application is used to generate them. Other recommended plugins If your project is a music store, and WooCommerce is more than you need it is possible to use Music Store plugin Or if you need a general purpose music and video player, not especific for WooCommerce, CP Media Player – Audio Player and Video Player plugin Multilingual Support (WPML) The plugin ships with a wpml-config.xml file in the plugin root that registers the three custom fields used by the “Select my own demo files” feature with WPML: _wcmp_demos_list _wcmp_own_demos _wcmp_direct_own_demos All three are registered with action=”copy-once”, which means: When a new translation is created, the demo files and their activation flags are copied from the source language to the new translation at creation time. Once the translation exists, subsequent updates to the source language do NOT overwrite the translation. Editors can customise per-language demos (for example, to use a sample with a different voiceover or accent) without losing their changes on the next source save. This is the conservative default that does not change behaviour for sites that do not explicitly opt in. If your site should propagate demo file changes from the source language to all translations on every update, go to WPML -> Settings -> Custom Field Translation and change the action for each of the three fields above from “Copy once” to “Copy”. After updating the plugin (or after first activation on a site that has WPML installed), go to WPML -> Support -> Troubleshooting and click Clear cache in WPML so the new configuration is picked up.
Top keywords
- player57×2.50%
- products46×2.01%
- audio41×1.80%
- music33×1.45%
- product28×1.23%
- file27×1.18%
- music player24×1.05%
- files23×1.01%
- pages20×0.88%
- players20×0.88%
- include19×0.83%
- playlist18×0.79%
Smush – Image Optimization, Compression, Lazy Load, WebP & CDN
Compress images, optimize images, and enable image lazy load automatically with the powerful Smush image optimizer to keep your WordPress site fast, without losing quality. Smush makes it easy to optimize images, compress images, and deliver images faster across your entire WordPress site. This all-in-one image optimizer automatically reduces image file sizes, enables image lazy load, and serves modern formats like WebP and AVIF, all without breaking image quality or adding extra work. Whether you’re running a blog, store, or portfolio, Smush helps you optimize images at scale and keep your site fast with a trusted WordPress image optimizer. Trusted by 1+ Million Sites | 4.8/5 Star Rating Get everything you need to optimize images and speed up your site. Smush works out of the box with no complicated setup – just install and let it handle the rest. Compress images without losing quality Reduce image file size automatically while keeping your images sharp and clear. Smush is an easy-to-use image optimizer which let’s you compress images using both lossless and lossy compression, giving you the best balance of quality and performance without extra work. You can also compress images outside the media library using Directory Smush, making it easy to optimize images stored in theme folders, plugins, or other directories on your server. Lazy load images for faster pages Enable image lazy load across your site so images load only when needed. This image optimizer improves initial page speed and creates a smoother experience for visitors without extra configuration. Serve WebP and AVIF images automatically (PRO) Convert images to WebP and AVIF and serve them automatically to supported browsers. Smush helps you optimize images using next-gen formats to reduce file size and improve load times across your WordPress site. Deliver images faster with an Image CDN (PRO) Serve images through a global image CDN to reduce latency and improve load times for visitors around the world. 119 global CDN servers Up to 500 GB of bandwidth Faster image delivery based on visitor location Improved performance for image-heavy and high-traffic sites Automatically resize and fix image dimensions (PRO) Eliminate common PageSpeed warnings and improve layout stability with automatic image sizing. Smush dynamically resizes images to perfectly fit their containers, regardless of original size, helping fix the “Properly size images” warning in Google PageSpeed Insights. It also automatically adds missing width and height attributes to your images, improving rendering speed and reducing layout shifts. This helps you meet the “Ensure images have explicit width and height” recommendation without any manual work. Optimize your entire site, automatically Smush works across your whole site as a powerful image optimizer to optimize images as you upload them and maintain performance over time without manual work. Optimize images automatically on upload Compress images in bulk or individually Works with your existing media library No need to re-upload images Enable image lazy load across your site Convert images to WebP and AVIF Deliver images with an integrated image CDN Automatically resize and serve correctly sized images Optimize images outside the media library with Directory Smush Built for performance Smush improves page speed and overall performance by reducing image weight and improving how images are delivered. Reduce page load times Improve user experience Better performance for image-heavy pages Supports image lazy load and preload images (PRO) for faster perceived performance Works with your existing setup Smush is built to work with your current WordPress setup, including popular themes, page builders, and plugins. Compatible with Gutenberg, Elementor, WPBakery, and more Works with WooCommerce stores No need to change your workflow Easy to enable and configure Designed to be simple You don’t need to be a performance expert to optimize images with Smush image optimizer. Works out of the box Simple settings when you need them No technical knowledge required Safe to use on any site Why choose Smush? There are plenty of image optimization plugins, but Smush focuses on making it easy to optimize images, compress images, and improve performance without complexity. As a leading WordPress image optimizer, Smush gives you powerful optimization tools without the technical hassle. Trusted by over 1 million WordPress users Built specifically for WordPress Regular updates and improvements Backed by the WPMU DEV team Get started in minutes Install Smush, activate it, and start to compress images, optimize images, and enable image lazy load right away. This easy-to-use image optimizer helps most sites see improvements immediately without changing how they upload or manage images. About Us WPMU DEV is a premium supplier of quality WordPress plugins, services and support. Learn more here: https://wpmudev.com/ Don’t forget to stay up to date on everything WordPress from the Internet’s number one resource: WPMU DEV Blog Hey, one more thing… we hope you enjoy our free offerings as much as we’ve loved making them for you! Contact and Credits Originally written by Alex Dunae at Dialect (dialect.ca, e-mail ‘alex’ at ‘dialect dot ca’), 2008-11.