I want to end a video with a black frame.
I am thinking about inserting a frame at the end of vid or getting the question to unload, hide, collapse, disappear…
I want the video to not end on its last frame.
I looked for solutions with Javascript hide function with QuestionContainer and html video function, but can’t get it to work.
The video is in a multiple choice question.
These are the base codes, I would appreciate any suggestions on this please.
Thank you.
{html}
<div style="text-align:center;"><span style="color:#ffffff;">.</span>
<video class="qmedia" controls="true" controlslist="nodownload noplaybackrate" disablepictureinpicture="" height="336" preload="none" width="600"><source src="abcabc" type="video/mp4" /></video>
</div>
{java}
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
this.hideNextButton();
});
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
this.showNextButton.delay(10);
});
Qualtrics.SurveyEngine.addOnUnload(function()
{
/*Place your JavaScript here to run when the page is unloaded*/
});