Fieldtype, Module

Developer
Supported

SoundClouded

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From Derek Hogue

     

You must be logged in to post.

Display track/player based on soundcloud URL (fieldtype)

General

Arif
Arif

So, I was wondering… we are using the matrix for displaying data like videos. There is a nice video link addon (fieldtype) that gives us the possibility to add a full youtube URL to the matrix field. This addon checks if the video is a valid youtube video. In the template you can create the embedded video to display it to your visitors.

My question: does this addon also works like this? Can we fill in a soundcloud URL from a single track into the matrix of grid field and show this track/player in our templates?

Cheers

Derek Hogue
# 1
Developer
Derek Hogue

Yes, and you’d actually use the module tags for this. Just use a plain text field to hold the URL, then in your template you’d use:

{exp:soundclouded:track track="{my_track_field}"}
    {soundcloud_widget_html}
{
/exp:soundclouded:track}