need set extendedValue is not photostdClass Object ( [display_url] => pic.twitter.com/56TIf0xP17 [expanded_url] => https://twitter.com/DefraGovUK/status/1329049820477202435/video/1 [id_str] => 1329015502598008832 [indices] => Array ( [0] => 204 [1] => 227 ) [media_key] => 13_1329015502598008832 [media_url_https] => https://pbs.twimg.com/media/EnGgOqEXcAMxxgd.jpg [type] => video [url] => https://t.co/56TIf0xP17 [additional_media_info] => stdClass Object ( [title] => [description] => [embeddable] => 1 [monetizable] => ) [ext_media_availability] => stdClass Object ( [status] => Available ) [sizes] => stdClass Object ( [large] => stdClass Object ( [h] => 320 [w] => 320 [resize] => fit ) [medium] => stdClass Object ( [h] => 320 [w] => 320 [resize] => fit ) [small] => stdClass Object ( [h] => 320 [w] => 320 [resize] => fit ) [thumb] => stdClass Object ( [h] => 150 [w] => 150 [resize] => crop ) ) [original_info] => stdClass Object ( [height] => 320 [width] => 320 [focus_rects] => Array ( ) ) [video_info] => stdClass Object ( [aspect_ratio] => Array ( [0] => 1 [1] => 1 ) [duration_millis] => 83792 [variants] => Array ( [0] => stdClass Object ( [content_type] => application/x-mpegURL [url] => https://video.twimg.com/amplify_video/1329015502598008832/pl/I23Tf7cQnrW0ecz1.m3u8?tag=13 ) [1] => stdClass Object ( [bitrate] => 432000 [content_type] => video/mp4 [url] => https://video.twimg.com/amplify_video/1329015502598008832/vid/320x320/xVp1ySiVy6Jc7LRa.mp4?tag=13 ) [2] => stdClass Object ( [bitrate] => 832000 [content_type] => video/mp4 [url] => https://video.twimg.com/amplify_video/1329015502598008832/vid/480x480/FlHD5wnaScFuOBjg.mp4?tag=13 ) [3] => stdClass Object ( [bitrate] => 1280000 [content_type] => video/mp4 [url] => https://video.twimg.com/amplify_video/1329015502598008832/vid/720x720/2H3ApcklKTXm_8RQ.mp4?tag=13 ) ) ) )