My first question is here after you enjoy the questions and answers of other nations. Thanks for this:)
I try to work with vimeo api, and I get an answer that I can not understand, as I assume. I think it’s just for some of you guys, but I can’t wrap my head around me.
I have a bunch of video id for which I need a thumbnail url. I would like to “ask” the answer “What is the thumb pointer for this identifier” and the loop, although my whole identifier is like that.
The response object is as follows:
stdClass Object
(
[videos] => stdClass Object
(
[video] => Array
(
[0] => stdClass Object
(
[id] => 8128888
[thumbnails] => stdClass Object
(
[thumbnail] => Array
(
[0] => stdClass Object
(
[height] => 75
[width] => 100
[_content] => http:
)
)
)
)
[1] => stdClass Object
(
[id] => 8760295
[thumbnails] => stdClass Object
(
[thumbnail] => Array
(
[0] => stdClass Object
(
[height] => 75
[width] => 100
[_content] => http:
)
)
)
)
)
)
)
I need to use it like this (truncated again), its quoted part, which I cannot determine:
<?php while ( $vid->fetchRecord() ) :
$vid_id = $vid->get_field('video');
$thumb = "find [video][thumbnail][0][_content] where [video][id] = $vid_id";
?>
<img src="<?php echo $thumb;?>"
<?php endwhile ?>
So how close am I ?: P