Using the MediaViewerControl in Dynamics AX 7
In AX 7 we have a whole new UI that is web based and around that we also have a few new controls. With things being new I have tried to get one of the newer controls working. I struggled for documentation but in the end got the MediaViewerControl to display a video in a new AX form.
To do this I added a control to my test form:
Then in the init method I set the URL and the content type of the window via code:
When we run the form we will get a video with the controls needed to play the video: