how to use a video in a qualtrics survey (easy & lazy version)
– upload your video to youtube. adjust the privacy and other settings (e.g., unlisted, don’t allow comments)
– change the name to something appropriate, it will be displayed when the video starts
– click on Embed, adjust the settings (size, turn off video suggestions at the end), and then copy the code, something like
iframe width="640" height="480" src="http://www.youtube.com/embed/j_RIIcyVzS8?rel=0" frameborder="0" allowfullscreen /iframe
(but with brackets before and after, which I took out here, otherwise you would see the video and not the link)
– in your qualtrics survey, create a text/graphic item, edit it, click on html view, and paste the iframe line above.
– done, it will look something like this: http://isctecis.us2.qualtrics.com/SE/?SID=SV_8ljMZVkXfcdm5Br
UPDATE
to specify a beginning and an end, add start:xx&end=yy after the ? in the link, like in the example, with xx and yy being seconds of the video.
The rel=0 gets rid of video suggestions at the end.
Update 18.06.14:
some people commented recently that there are problems with embedding video this way.
We are currently using a different method, and it works flawlessly. Perhaps that works for others as well. We use the youtube API, which embeds videos via javascript. In your item, switch to HTML view, and paste this code:
<div id="ytplayer"> </div>
<script>
// Load the IFrame Player API code asynchronously.
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
playerVars: {'disablekb': 1,'modestbranding': 1,'autoplay': 1,'autohide': 1,'fs': 0,'iv_load_policy': 3,'showinfo': 0,'rel': 0},
height: '390',
width: '640',
videoId: 'y6Sxv-sUYtM'
});
}
</script>
to put in your own video, replace the videoid with the one of your video; you’ll get see it at the end of the URL when you watch a video on youtube.
You will not see anything on this when you switch from HTML view back to normal view, but the video should be there if you preview the question.
The youtube player API used here is well documented.