Hi! I've searched for custom code to get the information from replay video and I couldn't find an exact answer.
(I've tried both of these:
https://community.qualtrics.com/XMcommunity/discussion/2832/how-to-record-how-many-times-a-participant-has-replayed-a-video
https://stackoverflow.com/questions/48492796/javascript-to-track-how-many-times-an-audio-video-file-is-played-in-qualtrics)
I've embedded a mp4 video in my survey and I want to check how many times the participant has clicked play on the video. Is there a way to record how many times they hit play?
Thank you!
How to record how many times a participant has replayed a mp4 video?
Best answer by grahulp5
var vid = document.getElementById("audi_player");
var i=0;
vid.onplaying = function() {
i=1;
var actual_click=i;
//console.log("played"+ i)
//alert("The video is now playing");
Qualtrics.SurveyEngine.setEmbeddedData('Q1_click',actual_click)
};
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
