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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2013-06-26
Originally by: *anonymous
Long ago Rick Copeland built support for something like this IIRC...
(Hi all!)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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].
Related
Tickets:
#1959Tickets:
#381Let'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...
(Hi all!)
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.
Related
Tickets:
#1959Tickets:
#381Created #383: [#6220] Add YouTube macro for wiki (2cp)
Related
Tickets:
#6220Closed #383.
je/42cc_6220