'Send message back to the client for video player requests.
Requires sending back callback id.'

def _send_video_response(self, youtube_id, message):

    time.sleep(self.server.config.get('time_to_response', self.DEFAULT_DELAY_SEC))
    callback = self.get_params['callback']
    data = OrderedDict({'items': list(OrderedDict({'contentDetails': OrderedDict({'id': youtube_id, 'duration': 'PT2M20S'})}))})
    response = '{cb}({data})'.format(cb=callback, data=json.dumps(data))
    self.send_response(200, content=response, headers={'Content-type': 'text/html'})
    self.log_message('Youtube:    sent    response    {}'.format(message))
