0 votes
by (180 points)
<video src="https://youtu.be/pOmu0LtcI6Y" width="640" height="480">
</video>

This is my first time trying to use video in Twine's Sugarcube. I used the code above, but it is not working. Can someone please clue me in as to what I'm doing wrong? Thanks.

1 Answer

+1 vote
by (149k points)
edited by
 
Best answer

The issue with your HTML video element is similar to the 2nd issue of your Image related question, the URL you are assigned the src attibute references a web-page with a video player embedded within, and not an actual video file.

In this particular case I can't supply you with the URL of the actual video file.

by (180 points)
Thank you. I will have to check for a different URL. I was using the one provided when you select the option to share.
by (180 points)
<video src="https://www.youtube.com/watch?v=pOmu0LtcI6Y&t=67s" width="640" height="480">
</video>

I tried this one, too, but now my story screen has a large black space at the top with the text below, but no actual video. I would like to use a few youtube videos but don't know how to find the correct URL. Or maybe the code is wrong, too.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...