Oembed support
-
Support for oEmbed (or something similar) to add videos only using the url.
-
Love it. We're thinking of bundling in "Oneboxing" (for examples, see here), so working with the oEmbed standard is always a good path to follow.
-
Wow, definitely "Oneboxing" seems to be more powerful and interesting.
Nice to know you have that in mind.
-
@julian said:
Love it. We're thinking of bundling in "Oneboxing" (for examples, see [here]
What's going on with this? I see another talk about oembed support:
https://community.nodebb.org/topic/512/plugin-ideas/67
...but this is all old stuff. From what I can see, it doesn't seem to have happened yet, but maybe I'm just missing something.
-
@boomzilla Howdy! We're in talks with the kind folks at IFramely to bring a fancy-pants embed plugin to NodeBB.
Here you go
I coded this up last week, and the IFramely guys are looking into it to possibly style it up. Rough around the edges still, I think.
-
Since this topic was first created, we've been creating smaller embed plugins for individual providers (or rather, our community has!)... YouTube, Vimeo, SoundCloud, and the like...
e.g. GitHub embedding:
gh#3082
-
@julian It looks awesome, but is unusable for many cases because it fails to sterilize- if you try to make a word into a link in text like this, it'll capture it and turn it into a oframe. Is there any way to get options for it to only capture bare links so it doesnt insert giant boxes into the middle of paragraphs, and turn off its youtube capture so those of us who want embed can still use it?
-
@Arc Yes, very much so. The regex I use is quite liberal, so I'll just need to alter it (or more likely, do some post-processing) to eliminate urls whose text does not match the url itself.
-
@julian http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
Thanks a ton for the quick reply though! This plugin does look utterly awesome, and looks excellent in practice.
-
Would be great to have implementation how it is in Slack now.