View mariano's plugins
embed videos: youtube and vimeo for Rjcalifornia and Mariano
In the next release:
.flicker video embed
Hi @Chicken and @Mariano
Yeah, I'm still working on the 'Wire Activity' embedding. Right now I am somehow busy but it should be ready soon.
@itskim It should work with the 3 colum river plugin, since this extend the wire, rather than the activity river.
This is the one of the usefull plugins out there.
In my wordpress blog for video embedding I have a plugin that has video on click, a killer feature for better site loads.(that's it to know what I mean).
If I may ask, how hard it is to implement that kind of feature in this plugin or Elgg in general?
Wee, I'd fixed problem with https://vimeo.com and added youtu.be to the list. Here's the code you can add to your views/default/river/object/thewire/create.php file line 15:
$excerpt = preg_replace("/\s*[a-zA-Z\/\/:\.]*youtu.be\/([a-zA-Z0-9\-_]+)([a-zA-Z0-9\/\*\-\_\?\&\;\%\=\.]*)/i","<iframe width='425' height='350' src='http://www.youtube.com/embed/$1' frameborder='0'></iframe>",$excerpt);
$excerpt = preg_replace('#https?://(www\.)?vimeo\.com/([^ ?\n/]+)((\?|/).*?(\n|\s))?#i', '<object width="auto" height="auto"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=$2&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=$2&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>',$excerpt);
Upload this wiretube plugin to your server and flush caches. give it a try. I hope this helps.