response_allowed_while_playing plugin doesn't seem to be working
See original GitHub issueHi, I am currently trying to construct an experiment where I want the participants to make button responses only after the audio is played. Using the “audio-button-response” plug-in, I’ve set the following parameters:
var fam_test_trial = {
type: "audio-button-response",
stimulus: jsPsych.timelineVariable('audio'),
choices: objects,
button_html: '<button class="jspsych-btn"><img src="img/%choice%.jpg" width = "375", height = "375"></button>',
**response_allowed_while_playing: false,**
response_ends_trial: true,
trial_duration: 7000,
post_trial_gap: 300
}
However, even if response_allowed_while_playing has been set to false, I was still able to make a button response before the audio finished playing.
How could I make sure a response can be made only after the audio is done, but at the same time allow the response to end the trial (after the audio has been played)? Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to Fix the Invalid JSON Response Error in WordPress
The response is not a valid JSON response," it will typically appear when you're working on content in the WordPress Block Editor.
Read more >Theme not working on mobile devices
Hi all,. My theme Ryan is not working on mobile devices. Actualy sometimes it works, other times it just stop working on mobile...
Read more >WordPress plugin not working? Check these 5 things
When a plugin doesn't seem to work, this checklist will help you determine the possible cause. Follow these steps and find the solution!...
Read more >Fix videos & games that won't play - Computer
Some video or game issues are caused by Chrome extensions, plugins, or something saved in your cache or browser data. On your computer,...
Read more >How to Fix “Sorry, You Are Not Allowed to Access This Page”
This error usually displays when you're trying to see a page in your WordPress dashboard that your user role doesn't have permission to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rachelkytsui this is now fixed! You can grab the latest code for the plugin and swap it into your copy of 6.2.
@jodeleeuw It works! Thank you so much!