Quote:
Originally Posted by kh99
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?
|
Okay i have removed those lines and i am using hook location "global_start"
i want to get video id from thread where video is embedded and parse that id to my plugin function so i can get video_tubmnail, title, length and other stuff from dailymotion
--------------- Added [DATE]1398493348[/DATE] at [TIME]1398493348[/TIME] ---------------
Quote:
Originally Posted by Zachery
Also, if you just want to use dailymotion, you can update the bbcode_video.xml file, no need for a lot of complicated nonsense.
|
I can see that you are not getting what i wanted to do. i am not stupid enough to get stuck on just embedding videos.