Thanks for the reply,
That’s what I thought. When I use the Open URL block, is there any switch which will stop the pop-up asking the user if they OK to leave the Code.org site? In other words, to simply go straight to the website (in my case to a YouTube video)?
There is not - this is a security protocol to make sure that the user is aware that code.org is not hosting (and has no responsibility for) any content beyond that page.
1 Like
Yes, as mentioned above, you can use the
open(url);
command to cause the action of pushing a button to open a youtube video.
I have done this in my example here.
I have not found a way to embed yet, though.
1 Like
Is this an option yet? I have students who would like to embed an animated gif.
Any update to app lab to allow videos??
That should have been a separate post @vbrownsmith
for a while now you could add gifs and display them within applab
https://studio.code.org/projects/applab/25ecHgSwyqQrPq8ZwIhFrEO5fYk_r8cTzP_-6zeXwQ8
by setting it to a proper gif url or in this case an uploaded gif students should be able to display gifs by using <img> tag, not sure if this works with the set methods Applab has but this works
I’m not aware of anything besides varriene’s workaround, so I’d be sure to submit this as a feature request so the engineers see it!
Thanks,
Michael K.