psychopy.org | Reference | Downloads | Github

The text comes on top of the image and the position cannot be changed

URL of experiment:
https://run.pavlovia.org/merve73/soa_temporal/html

code: https://gitlab.pavlovia.org/merve73/soa_temporal/blob/master/html/Soa_original.js

Description of the problem: Hi, I have a very strange problem. I have a video stimulus and while the video is playing a text comes up to the video. This is working just fine locally. Moreover, it was working just fine until yesterday online. But today some part of the text appears on the video. I tried to change the position or the size of the text. Even more stranger thing is that the changes in the size or the position of the text do nothing. I even decreased the size until 0.00001 and it is still with the same size. I really do not understand the issue here.

This is the part related to the text coming while the video is playing.

TrialText = new visual.TextStim({
win: psychoJS.window,
name: ‘TrialText’,
text: ‘Hazır olduğunuzda istediğiniz herhangi bir an SPACE tuşuna basınız.’,
font: ‘Arial’,
units: undefined,
pos: [0, 0.4], height: 0.0001, wrapWidth: undefined, ori: 0,
color: new util.Color(‘white’), opacity: 1,
depth: -1.0
});

Thank you all in advance.

You should define the text in Begin Experiment and then use TrialText.setAutoDraw(True) when you want to it appear.

How are you trying to change the size?

Best wishes,

Wakefield