Millisecond Forums

Issue embedding .swf HTML elements since version 4.0.5.0

https://forums.millisecond.com/Topic13848.aspx

By xiller09 - 7/24/2014

In version 4 (confirmed working on 4.0.3.0 and 4.0.4.0) I could link to the url of a .swf file in the HTML element and get the flash file embedded into inquisit. See the script below for an example. In versions 4.0.5.0 and 4.0.6.0 this script no longer works. Is there any possible work around?

<values>
/gameplayminutes = 3
/gamesizeH = "640px"
/gamesizeV = "480px"
</values>

<html games>
/ items = gameslist
/ size = (values.gamesizeH,values.gamesizeV)
</html>

<item gameslist>
</item>

<trial test>
/stimulustimes = [1=games]
/timeout = values.gameplayminutes * 60000
/inputdevice = mouse
</trial>

By Dave - 7/24/2014

You can use the <video> element to run SWF files. I would recommend caution, though: An increasing number of systems don't have Flash installed.
By tscho - 3/1/2015

Hey Dave, finally back on to this.

The reason for trying to use html rather than video is that it allowed us to run flash videos that couldn't be rehosted. These are blocked when using the video method, but not when using the html method.

Is there a reason this stopped working after version 4.0.4.0. I notice that 4.0.4.0 web availability has been withdrawn, which is what's brought this up as an issue again - before we just used 4.0.4.0.

Any thoughts?
By Dave - 3/1/2015

Well, an swf isn't HTML. Have you tried actually embedding the swf in HTML code and displaying the resulting HTML file?

http://www.w3schools.com/html/html_object.asp