You can remove these two lines from your code:
Code:
$templater = vB_Template::create('dailymotion_video_api');
$templater->render();
because they aren't doing anything ($templater->render() returns a string).
I understand that you want the video id to be a parameter, but I don't understand where you want to enter it.
Edit: Maybe you want to provide the code as part of the bbocde? Which hook location are you using for your plugin?