define(['pipAPI', 'https://cdn.jsdelivr.net/gh/baranan/minno-tasks@0.*/amp/qualtrics/qamp.js'], function(APIConstructor, ampExtension){
var API = new APIConstructor();
return ampExtension({
primeCats : [
{
nameForFeedback : 'Black people', //Will be used in the user feedback
nameForLogging : 'Black people', //Will be used in the logging
//An array of all media objects for this category.
mediaArray : [
{image : 'AAF1.bmp'},
{image : 'AAF2.bmp'},
{image : 'AAF3.bmp'},
{image : 'AAF4.bmp'},
{image : 'AAF5.bmp'},
{image : 'AAM1.bmp'},
{image : 'AAM2.bmp'},
{image : 'AAM3.bmp'},
{image : 'AAM4.bmp'},
{image : 'AAM5.bmp'}]
},
{
nameForFeedback : 'White people', //Will be used in the user feedback
nameForLogging : 'White people', //Will be used in the logging
//An array of all media objects for this category.
mediaArray : [
{image : 'WhFBl1.bmp'},
{image : 'WhFBl2.bmp'},
{image : 'WhFBl3.bmp'},
{image : 'WhFBl4.bmp'},
{image : 'WhFBl5.bmp'},
{image : 'WhMBl1.bmp'},
{image : 'WhMBl2.bmp'},
{image : 'WhMBl3.bmp'},
{image : 'WhMBl4.bmp'},
{image : 'WhMBl5.bmp'}]
}
],
examplePrimeStimulus :
{
nameForLogging : 'examplePrime', //Will be used in the logging
//An array of all media objects for this category.
mediaArray : [{image : 'ampchair.jpg'}, {image : 'amplamp.jpg'}, {image : 'ampumbrella.jpg'}]
},
base_url : {//Where are your images at?
image : 'https://satchmo496.github.io/images'
}
});
});
Apologies for what I am almost certain is a question with an incredibly simple fix for someone more knowledgeable about minno.js than I am!One of my students and I are attempting to create a few different AMPs using minno.js which we will run in Qualtrics. We'll be hosting our scripts and images on github. We are able to get the sample script to work perfectly in Qualtrics. But, once we attempt to change the sample script to load our (image) stimuli rather than those in the sample script, the script will no longer work.I have to imagine the fix here is a a very simple one but sadly neither of us has much programming experience. For your reference, the script is here.And, the folder with our images is here.I suspect the issue relates to how we're entering the base_url, but we've tried a number of variations to no effect.Thank you in advance for any help you can provide and for making this very useful tool available!--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/3f26f9f7-1cec-4ebc-a391-d30ec231ccban%40googlegroups.com.