Audio Player

Display Audio player in with accompanied answer text.

Introduction

The audio player is the same component as the video player. The component looks at the file extension and presents either a video or audio player.

Screenshot

Output Parameter

extensions = ${ExtensionHelper.displayVideo(urlToMp3, channel)}

JSON

{
	"name": "displayVideo",
	"parameters": {
		"video_url": "https://www.mfiles.co.uk/mp3-downloads/chopin-nocturne-op9-no2.mp3"
	},
	"inline": false
}

Inline

Screenshot

Output Parameter

extensions = ${ExtensionHelper.displayVideo(urlToMp3, channel,true)}

JSON

{
	"name": "displayVideo",
	"parameters": {
		"video_url": "https://www.mfiles.co.uk/mp3-downloads/chopin-nocturne-op9-no2.mp3"
	},
	"inline": true
}

Last updated