Play Block

Use Play Block to manage the audio, radio, video and livestream.

Configuration #

  1. Go to dashboard “Settings > General”
  2. Scroll to “Play Block setting” section

  • Apply Play Block to — Select post type to use “Play Block”, choose “Stations” for station post type. when create/edit a post from station will have the “Play Block” plugin on the top right. Note: the “Play Block” is now available on Woocommerce product.
  • Frontend post to – Frontend submission form will post to station or product post type
  • Frontend playlist to – User created playlist will submit to post type
  • Assign upload to page – Go to “Pages/Add new” to create a upload page to bind this option. also you can use other paid membership plugin to control this page.
  • Assign download to page – Same as upload page
  • Assign login to page – Login/register form will be bind to this page
  • Assign rank to page – bind rank page
  • Frontend auto public – Frontend upload will be public or private
  • Playlist auto public – User playlist will be public or private
  • Verified user auto public – Verified user posts will be public or private
  • Frontend upload stream – Allow user to upload stream, otherwise only remote url input
  • Downloadable only for register – Download feature only for register user
  • Purchasable on upload form – Control purchasable on upload form
  • No admin panel for non-admin user – Disable user to see WordPress admin dashboard
  • Email activation – User register need email activation.
  • Soundclient client id – Use for play track from
  • Ads tag url – Player ads tag url

Single station #

To use Play Block, The post type must have the Gutenberg Block Editor.

  1. Create/Edit a station
  2. Click on the “Play” icon on the editor bar
  3. Choose “Single” for “Type” to add single station.

Stream field: Required for single type, you can use remote url or upload local media file. support audio, video, online stream.

Stream URL: Alternative for stream field, or will use this field to get the real stream url.

Duration: Million seconds for stream file.

Artwork: Fill this field with remote image url and click the “Set as featured image” will get the image from the remote url and set featured image for this station

Waveform: sound waveform data, fill the “Stream” field and click the waveform icon button to get waveform data.

Album and playlist #

  1. Add New/Edit a station
  2. On the Play Block, Select album/playlist for “Type”;
  3. Input single station title to search station;
  4. Select single station when stations popup.

Front-end submission #

  1. Go to “Settings > General” to select “Anyone can register”;
  2. Choose “Contributor” for “New User Default Role”;
  3. Contributor can use the upload form to submit their own station.

“Subscriber” user can not use the upload form but can create playlist.