create me a javascript async function that extracts all the mp4 variants from json  and saves it in a object : "{
"data": {
"__typename": "Tweet",
"lang": "ta",
"favorite_count": 1374,
"possibly_sensitive": false,
"created_at": "2024-02-08T02:14:37.000Z",
"display_text_range": [
0,
181
],
"entities": {
"hashtags": [
{
"indices": [
147,
155
],
"text": "SunNews"
},
{
"indices": [
158,
171
],
"text": "ElectionNews"
},
{
"indices": [
174,
181
],
"text": "Seeman"
}
],
"urls": [],
"user_mentions": [],
"symbols": [],
"media": [
{
"display_url": "pic.twitter.com/thIWNZAjD3",
"expanded_url": "https://twitter.com/sunnewstamil/status/1755414803613647221/video/1",
"indices": [
182,
205
],
"url": "https://t.co/thIWNZAjD3"
}
]
},
"id_str": "1755414803613647221",
"text": "Watch | "ரத்தத்தை சூடாக்கும் அளவுக்கு பேசும் சீமானிடம் செயலில் ஒன்றும் இல்லை" நாம் தமிழர் கட்சியில் இருந்து விலகிய நிர்வாகி கடும் குற்றச்சாட்டு! #SunNews | #ElectionNews | #Seeman https://t.co/thIWNZAjD3",
"user": {
"id_str": "1079310252",
"name": "Sun News",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1173895565215588352/Pcxpw82k_normal.jpg",
"screen_name": "sunnewstamil",
"verified": false,
"verified_type": "Business",
"is_blue_verified": true,
"profile_image_shape": "Square"
},
"edit_control": {
"edit_tweet_ids": [
"1755414803613647221"
],
"editable_until_msecs": "1707362077000",
"is_edit_eligible": true,
"edits_remaining": "5"
},
"mediaDetails": [
{
"additional_media_info": {},
"display_url": "pic.twitter.com/thIWNZAjD3",
"expanded_url": "https://twitter.com/sunnewstamil/status/1755414803613647221/video/1",
"ext_media_availability": {
"status": "Available"
},
"indices": [
182,
205
],
"media_url_https": "https://pbs.twimg.com/ext_tw_video_thumb/1755413108527636480/pu/img/2vVptgobx7qItB0m.jpg",
"original_info": {
"height": 1080,
"width": 1920,
"focus_rects": []
},
"sizes": {
"large": {
"h": 1080,
"resize": "fit",
"w": 1920
},
"medium": {
"h": 675,
"resize": "fit",
"w": 1200
},
"small": {
"h": 383,
"resize": "fit",
"w": 680
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "video",
"url": "https://t.co/thIWNZAjD3",
"video_info": {
"aspect_ratio": [
16,
9
],
"duration_millis": 200160,
"variants": [
{
"bitrate": 2176000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/1280x720/lTiC6YwiHWtV-f5N.mp4?tag=12"
},
{
"bitrate": 832000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/640x360/YqqnF0zVOuBTwrcn.mp4?tag=12"
},
{
"content_type": "application/x-mpegURL",
"url": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/pl/gwS3TWGlodp2mZPw.m3u8?tag=12&container=cmaf"
},
{
"bitrate": 256000,
"content_type": "video/mp4",
"url": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/480x270/VRos5z54HyKlMyI6.mp4?tag=12"
}
]
}
}
],
"photos": [],
"video": {
"aspectRatio": [
16,
9
],
"contentType": "media_entity",
"durationMs": 200160,
"mediaAvailability": {
"status": "available"
},
"poster": "https://pbs.twimg.com/ext_tw_video_thumb/1755413108527636480/pu/img/2vVptgobx7qItB0m.jpg",
"variants": [
{
"type": "video/mp4",
"src": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/1280x720/lTiC6YwiHWtV-f5N.mp4?tag=12"
},
{
"type": "video/mp4",
"src": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/640x360/YqqnF0zVOuBTwrcn.mp4?tag=12"
},
{
"type": "application/x-mpegURL",
"src": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/pl/gwS3TWGlodp2mZPw.m3u8?tag=12&container=cmaf"
},
{
"type": "video/mp4",
"src": "https://video.twimg.com/ext_tw_video/1755413108527636480/pu/vid/avc1/480x270/VRos5z54HyKlMyI6.mp4?tag=12"
}
],
"videoId": {
"type": "tweet",
"id": "1755414803613647221"
},
"viewCount": 0
},
"conversation_count": 130,
"news_action_type": "conversation",
"isEdited": false,
"isStaleEdit": false
}
}"