Creating custom buttons to control playback of embedded videos for built-in flash player. Default setting for Playback Style is floating window. Have a STOP button to close the floating window via rma.activated = false.
Would like a PREVIEW button that toggles Playback Style of embedded video to "Play content on page". Would also need to toggle the working PLAY button back to the floating window setting.
Can this be done via MediaSettings.windowType ? Or is that just for legacy media? Code example?