How add my sindication key on script php

where he placed my : =syndicationxxxxx

here is the code :

function dailymotion($video_id = NULL)
{
$json = file_get_contents(“https://api.dailymotion.com/video/".$video_id.",fields=id,thumbnail_large_url,title,duration,user,description,embed_url”);
$videos = json_decode($json);

	$data['type']			=	'dailymotion';
	$data['video_id']		=	''.$video_id.'';
	$data['title']			=	''.$videos->title.'';
	$data['description']	=	''.$videos->description.'';
	$data['duration']		=	''.$videos->duration.'';
	$data['thumbnail']		=	''.$videos->thumbnail_large_url.'';
	$data['url_web']		=	'http://www.dailymotion.com/video/'.$video_id./'';
	$data['url_embed']		=	''.$videos->embed_url./'';

	return $data;
}

Help me plz.

I don’t understand what you’re trying to ask…

Sponsor our Newsletter | Privacy Policy | Terms of Service