Rich,
Just had a look at how item.php template file for K2 to see how it was rendering things. Basically, it shows the following things in order (among a lot of other stuff):
item->introtext
item->fulltext
item->video
Our content plugin basically affects the introtext and fulltext by either prepending or appending the social buttons and comments to those values. Since the item->video is 'outside' those values, it basically makes it invisible to our plugin. The same would be true of the Gallery (which shows after the video).
In the content plugin, we're passed the whole article (item), so it's possible we could detect if there is a video (or gallery) and give an option to show after that (instead of the text). For now, if you want to try something -completely- untested, here's an idea
In the /plugins/content/jfbcontent.php file, around line 566 (in the _appendToFulltext function, change it to this:
if (isset($article->video))
$article->video = $article->video . $fbText;
else if (isset($article->text))
$article->text = $article->text . $fbText;
else if (isset($article->fulltext))
$article->fulltext = $article->fulltext . $fbText;
You're adding the first 2 lines (if video) and add else to the line after that (so it's an else if, not just an if).
You may need to try if (!empty($article->video)) instead of isset.. not sure what's going to come in to our plugin.
Hopefully, that will work and show any social widgets after the video if it is actually set.. who knows what will happen though
I'm sure you'll let us know!
Good luck,
Alex