﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Put videos on the AMP script</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 22 Sep 2026 08:37:05 GMT</lastBuildDate><ttl>20</ttl><item><title>Put videos on the AMP script</title><link>https://forums.millisecond.com/Topic20436.aspx</link><description>Hi&lt;br/&gt;I´d the AMP script and I want to put a video after the practice of the test (before the real application of the test), also I want to put another video and aplly the test again, all like it was a unique trial.&lt;br/&gt;Can you explain me how to do that?&lt;br/&gt;I´m new in this topic&lt;br/&gt;Thanks for your answer!.</description><pubDate>Wed, 04 Jan 2017 18:26:42 GMT</pubDate><dc:creator>Nicobu</dc:creator></item><item><title>RE: Put videos on the AMP script</title><link>https://forums.millisecond.com/Topic20437.aspx</link><description>&lt;div data-id="20436" class="if-quote-wrapper" unselectable="on" data-guid="1483582434921"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20436" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20436" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20436" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nicobu - Wednesday, January 4, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20436"&gt;&lt;div class="if-quote-message-margin"&gt;Hi&lt;br/&gt;I´d the AMP script and I want to put a video after the practice of the test (before the real application of the test), also I want to put another video and aplly the test again, all like it was a unique trial.&lt;br/&gt;Can you explain me how to do that?&lt;br/&gt;I´m new in this topic&lt;br/&gt;Thanks for your answer!.&lt;a class="if-quote-goto quote-link" href="#" data-id="20436"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Add a &amp;lt;video&amp;gt; element in the script and a &amp;lt;trial&amp;gt; to display the video. &lt;br/&gt;&lt;br/&gt;&amp;lt;video after_practice_video&amp;gt;&lt;br/&gt;/ items = ("video1.mpg")&lt;br/&gt;/ playthrough = true&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial show_video&amp;gt;&lt;br/&gt;/ stimulusframes = [1=after_practice_video]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Run that new &amp;lt;trial&amp;gt; at the appropriate time by adding it to the end of the /trials attribute in the practice &amp;lt;block&amp;gt;.&lt;br/&gt;&lt;br/&gt;&amp;lt;block practice&amp;gt;&lt;br/&gt;/ bgstim = (attributeAlabel, attributeBlabel)&lt;br/&gt;/ trials = [1-3 = instructions; 4-13 = noreplace(primeApractice, primeBpractice, primeNeutralpractice);14=show_video]&lt;br/&gt;/ recorddata = true&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;It's not quite clear what you mean by "also I want to put another video and aplly the test again", but the easiest option -- especially if you're not comfortable with Inquisit syntax yet -- would be to create two separate versions of the AMP script along the above lines (one showing the 1st video, another one showing the 2nd video) and run them in order via a &amp;lt;batch&amp;gt; script:&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "AMP1.iqx"&lt;br/&gt;/ file = "AMP2.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 04 Jan 2017 18:26:42 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>