Can we get Tutorial for Onebox-ing plugin


(Admir Hodzic) #1

Continuing the discussion from Brand new plugin interface:

Yet for while I am hitting my head into wall to get this work.
May I please @zogstrip to next tutorial write for plugins which implement custom OneBox.
I really am dying to start customizing Discoruce but lack of my knowledge keep me in dark.
Can we get step by step tutorial to implement simple one box.
My doubts is where I shoud put these codes.
Should they go inside plugin.rb or we need additional files.

Where to put

Onebox::Engine::WhitelistedGenericOnebox.whitelist.push "aetus.net"

Thanx in advaced


(Jeff Atwood) #2

We are working hard on getting V1 out the door, so this is unlikely to happen for a while – sorry.


(Admir Hodzic) #3

(Admir Hodzic) #4

Until someone writes tutorial @cfstras maded great plugin which implements onebox of YouTube.
There is also comments in code which helped me my onebox start work