#6220 Add YouTube macro for wiki

asf_release_1.0.0
closed
nobody
42cc (408)
General
2014-12-23
2013-05-08
Cory Johns
No

It would be useful to be able to embed YouTube videos in wiki pages for things like screencasts and video tutorials.

Related

Tickets: #6220

Discussion

  • Dave Brondsema
    Dave Brondsema
    2013-05-08

    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: #1959
    Tickets: #381

  • Dave Brondsema
    Dave Brondsema
    2013-06-26

    • labels: --> 42cc
     
  • Dave Brondsema
    Dave Brondsema
    2013-06-26

    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.

     

  • Anonymous
    2013-06-26

    Originally by: *anonymous

    Long ago Rick Copeland built support for something like this IIRC...

    (Hi all!)

     
  • Dave Brondsema
    Dave Brondsema
    2013-06-26

    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: #1959
    Tickets: #381

    • status: open --> in-progress
     
  • Created #383: [#6220] Add YouTube macro for wiki (2cp)

     

    Related

    Tickets: #6220

    • status: in-progress --> code-review
     
  • Closed #383. je/42cc_6220

     
    • QA: Tim Van Steenburgh
    • Milestone: forge-backlog --> forge-jul-12
     
    • status: code-review --> closed