How to broadcast a pre-recorded video
Updated over a week ago

Which streaming tool can I use to embed my video into Swapcard?

  1. If your video is already uploaded on YouTube, Vimeo, or another video source, you don't have to do anything but copy its link.

  2. If your video has been recorded on another platform, we recommend that you use a broadcasting software such as Restream which allows broadcasting on many platforms including YouTube and Vimeo.

Setting up a Vimeo video to autoplay in Swapcard

When using a Vimeo video ID on Swapcard, the video does not automatically play. Once the countdown ends and the video appears, users will still need to press play, whether it is a live or a pre-recorded video.

If you would like to have the video autoplay as soon as the countdown ends, you will need to opt for the use of the video iFrame instead.

To do so, you will first need to get the iFrame of the video in question from Vimeo. For this, go to the Vimeo video of your preference and click the Share button in the upper right corner of the video player.

Screen_Shot_2021-08-25_at_2.16.34_PM.png

In the pop-up that opens, click on +Show Options.

Screen_Shot_2021-08-25_at_2.26.56_PM.png

In the list of options available, check the box next to "Autoplay this video". Then, you will have to copy the Embed Code and paste it onto Swapcard.

Screen_Shot_2021-08-25_at_2.30.22_PM.png

You can also do this manually, by adding the parameters suggested by Vimeo in this article.

Note: this method will only work for Public or Password-Protected videos. Also, keep in mind that some browsers specifically block autoplay.


Setting up a YouTube video to autoplay in Swapcard

When using a YouTube video ID on Swapcard, the video does not automatically play. Once the countdown ends and the video appears, users will need to press play, whether it is a live or pre-recorded video.

If you would like to have the video autoplay as soon as the countdown ends, you will need to opt for the use of the video iFrame instead.

To do so, you will first need to get the iFrame of the video in question from YouTube. For this, click on Share underneath the video and then Embed.

Screen_Shot_2021-05-13_at_09.31.35.png
Screen_Shot_2021-05-13_at_09.32.47.png

The iFrame will appear on the right hand side of the page. You will need to Copy the iFrame and paste it onto a text editing tool, such as Word or TextEdit.

Screen_Shot_2021-05-13_at_09.36.41.png

You will then need to edit the iFrame to enable the autoplay feature :

  1. Add ? right after the Video ID, and before the quotation mark.

  2. Hit Enter to take everything to the next line.

  3. Add &autoplay=1

  4. Copy this new code from your text editing tool and open this link to test it

  • Delete all the code in the left column.

  • Paste your new YouTube embed code.

  • Hit green Run button.

  • Video will play in the right window.

Go to the specified session in Swapcard Studio.

  1. Select Live Session.

  2. Select Other iFrame.

  3. Paste embed code.

Example of iFrame code from YouTube

<iframe width="560" height="315" src="https://www.youtube.com/embed/B0Kwn1PliSQ"title="YouTube video player" frameborder="0" allowfullscreen></iframe>

Example of edited iFrame code with Autoplay capabilities (edits in bold)

<iframe width="560" height="315" src="https://www.youtube.com/embed/B0Kwn1PliSQ?&autoplay=1" title="YouTube video player" frameborder="0"</iframe>

You are all set! Your video will now play automatically at the start time of your session on Swapcard.

Did this answer your question?