Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
placeholder-preview-image

CMS: Connecting an Audio Player to Collection Content

Dynamically showcase audio tracks on your site by connecting an audio player to your CMS (Content Management System) collection. In the audio player, you can play tracks stored in your collection's audio or URL fields. This allows you to manage a large library of audio content in a collection that is separate from your editor.
Before you begin:

To connect an audio player to the CMS:

  1. Go to your editor.
  2. Add an audio player:
    1. Click Add Elements  on the left side of the editor.
    2. Click Video & Music. 
    3. Click Audio Players and drag the player you want to use onto your page. 
Screenshot of adding an audio player in the Wix Editor.
  1. Select the audio player you just added and click the Connect to CMS icon .
  2. Click the Choose a dataset drop-down and select an existing dataset that connects to your collection. Alternatively, click Add a Dataset, then choose the collection you want to connect, give the dataset a name and click Create.
  3. Under Connections, click the relevant drop-downs to connect the player to the relevant collection fields:
    Tip: Select + Add in any of the drop-downs if you want to add and connect new collection fields. 
    • Artist name connects to: Select the text, address, or tags field you want to use for the names of the artists. 
    • Track name connects to: Select the text, address, or tags field you want to use for the names of the tracks. 
    • Cover image connects to: Select the image field that you want to use for the cover images. 
    • Audio source connects to: Select the audio or URL field that you want to use as the source of the audio tracks.
    • Video title connects to: Select the Text, Address, or Tags field you want to use as the video title. Select + Add if you want to add and connect a new collection field for your video title. 
    • Video source connects to: Select the Video or URL field you want to use as the source of the video. Select + Add if you want to add and connect a new collection field for your video source. 
Screenshot of the audio player CMS connection options.
  1. (If needed) Adjust the dataset settings: 
    1. Click Dataset Settings in the Connect Audio Player panel on the right. 
    2. Click the permission type next to Permissions to edit your collection's permissions & privacy settings. 
    3. Click the Dataset mode drop-down and select the relevant option: 
      • Read: Elements that are connected to the dataset can read and display content from your collection. The elements cannot modify the collection content. 
      • Read & Write: Elements that are connected to the dataset can display content from your collection. Input elements can add or edit content in your collection. 
Screenshot of adjusting the dataset settings.
  1. Customize your audio player's settings, design, and layout. Learn more about customizing the audio player.
    Tip: Click Settings on the audio player to adjust the playback options to play once or in a loop. The image, audio, and track details shown in the settings will be overridden if you connect them to collection fields in the dataset. 
Screenshot of customizing the layout of the audio player.
  1. Click Preview at the top right to test your audio player.
  2. Click Publish if you are ready to make the changes go live. 

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.