Hi Sílvia,
I hope you don’t mind, I moved your question to the Support section of the forums, as I think it’s more appropriate
How about using the .size and .play commands, like this?
newTrial(
newButton("Watch video").print().wait().remove()
,
newVideo("https://upload.wikimedia.org/wikipedia/commons/4/4f/CanoeTacking.webm")
.size("80vw","auto")
.print()
.play()
.wait()
)
Note that most browsers will require a user interaction to happen on the page for play to automatically start the video, hence my Watch video button (but any prior interaction in your experiment will do)
Jeremy