It would be useful to be able to embed YouTube videos in wiki pages for things like screencasts and video tutorials.
Generic embedding via "oembed" would be nice. An attempt was made quite a long time ago to support that. It stalled on configuration [#381] (perhaps related to domains and security?) and then was removed in [#1959].
Let's keep it simple for now, and only support youtube. But we can set it up in a generic fashion, so its easy to extend to other sites too.
I'm thinking the macro should look like [[embed url=http://www.youtube.com/watch?v=kOLpSPEA72U]] for example. We can use a python oembed library to easily convert URLs into the embed html/js. Only enable youtube urls for now.
Originally by: *anonymous
Long ago Rick Copeland built support for something like this IIRC...
You seem to have CSS turned off.
Please don't fill out this field.
Yeah, ticket [#381] and [#1959] are some related tickets. I think the idea back then to was allow embedding anything at all, and so there was extra work to use an iframe and a different domain, to keep the remote content sandbox. This will go the easier route and just used trusted sources (only youtube) for now.
Created #383: [#6220] Add YouTube macro for wiki (2cp)
Closed #383. je/42cc_6220
Log in to post a comment.