Play a video in Codea?

I’m wondering if Codea offers a way to launch a video (uploaded from Assets > Dropbox) after a button select? I’ve searched this question, but the threads that came up were 2-3 years old, so I’m wondering if anything has changed on this topic. Thanks. :slight_smile:

You can animate something but you can’t display a video in your project

Ok then. Thanks.

Here’s an example. Not sure if this is exactly what you’re after. I just used any video. Use the openURL command. Remove the spaces after the // and before www when you try this.

function setup()
    openURL('https://   www.youtube.com/watch?v=FgIT5fSaWUk')
end

Thanks! I was looking for more for something of an in-app video player, but if that’s not possible, this is close enough.

It is! If u use a Boolean after the Url and set it to true then it works:

openURL("https://        www.youtube.com/watch?v=FgUT5fSaWUk", true)