Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Embedding a YouTube Video

Hi there,
I am an undergraduate psychology student and I am required to use OpenSesame to create an experiment for my final project. Therefore I am very, very new to it!! As part of my experiment I require participants to watch a film trailer which I have found on YouTube, but due to copyright YouTube do not allow the downloading of videos. So I was wondering if there is a way I can embed the video into my experiment? For example by using the website address or embedding code provided by YouTube.

I hope someone can help me with this!
Thanks.

Comments

  • Hi,

    No, you cannot embed YouTube movies, or other online content for that matter, within an OpenSesame experiment. However, you can easily download YouTube movies using various sites (Google will show you the way). And for videos with a Creative Commons License, doing so would even be legal!

    Cheers,
    Sebastiaan

  • Hi,

    Thank you for your help! I have placed the YouTube video into the media player in my experiment, and it worked fine when it was just the video in the experiment. However now that I have put an instructions screen before it, when the video plays the sound can be heard but it remains on the instructions screen. Is there any way to solve this?

    Many Thanks,
    Sarah

  • Hi Sarah,

    Which media player did you use? I suppose the problem is that, once Opensesame started video & sound, it proceeds to the next item in the sequence. For the video it doesn't matter much because the new item will just replace the current screen, but for the audio this is a little trickier, because silence can't cover sound. So, what you need to do is making your video stop once you proceed with the next item (the instruction in your case). Does this make sense? Not sure whether there is an easy way to stop the video though. It probably depends on the media player that you use?

    Eduard

    Buy Me A Coffee

  • Hi,

    Based on media_player_vlc opensesame's plugin (by Daniel Schreij) I've created media_player_vlc_youtube to allow embedding youtube videos on opensesame experiments.

    VLC needs to be installed in order to make it work.

Sign In or Register to comment.