Use Audio Video Placback widget to play audio from URL

Hi all, I want to use audio playback in an app, using an URL which is dynamic (depends on the opened object and is an attribute thereof) I see two possibilities and for each a problem I can't yet fix: HTMLsnippet with content depending on pageobject Use the HTML snippet with the embed HTML tag and as a source an URL: Problem: This URL should be filled with the stringvalue of an attribute of the object of that page. How can I make this work? Use the Audio Video Playback widget from the app store The problem here is that this widget needs input of the form filedocument, I only have an URL (I don't want to use Mendix as a fileserver). Again; how can I make this work? I hope someone has a solution!
2 answers

Try the format string widget. It will render html as well.

So you could do the following in the format string widget:

<iframe width="560" height="315" src="${0}" frameborder="0" allowfullscreen></iframe>

This will mean that you can create a dynamic iframe to a video.


You can now use audio video playback to play audio and video from an absolute url, Check out the update Here