MyBB Community Forums

Full Version: Fix 'undefined' Video Source
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to add NicoNico Douga support to the editor.

Eg. I would like to input this code:
[video=niconico]http://www.nicovideo.jp/watch/sm20257511[/video]

And spit out this code:
<script type="text/javascript" src="http://ext.nicovideo.jp/thumb_watch/sm20257511?w=640&h=480"></script>

Using the tips found in this support thread I was able to successfully add the editor option to my editor, but instead of saying NicoNico it shows up as 'undefined'.

I added an entry to my global.lang.php following YouTube's template but I seem to have missed something. Any assistance would be appreciated.