Fall through to the post page when a reel embeds only its cover frame
CI / Typecheck, test, build (pull_request) Successful in 29s
CI / Typecheck, test, build (pull_request) Successful in 29s
The captioned embed stopped shipping a reel's video_url and never draws a logged-out <video>, so both the payload and the DOM hand back the cover frame alone. Because that still counts as media, the post-page fallback never fired and a reel resolved to a still image. Trigger the fallback when the URL is a reel (or the payload declared a video) but no video was found, so it reaches the post page, whose payload still carries the progressive file in video_versions. The embed's caption, handle and avatar are carried forward, since the post-page payload does not include the owner. Co-authored-by: anthropic/claude-opus-4-8
This commit is contained in:
co-authored by
anthropic/claude-opus-4-8
parent
c08b628cce
commit
cc4f094fb8
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"__typename": "XIGPolarisVideoMedia",
|
||||
"pk": "3983940149641276516",
|
||||
"code": "DdJzHVRyOxk",
|
||||
"media_type": 2,
|
||||
"product_type": "clips",
|
||||
"caption": {
|
||||
"text": "I just quit my job at the BPAF and things are not looking good you guys"
|
||||
},
|
||||
"accessibility_caption": "Video by Vinny Thomas on September 11, 2026.",
|
||||
"original_height": 1280,
|
||||
"original_width": 720,
|
||||
"video_duration": 60.486,
|
||||
"image_versions2": {
|
||||
"candidates": [
|
||||
{
|
||||
"url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/806299489_18624728518024548_8282126995775909321_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=109&ig_cache_key=abc.3-ccb7-5&efg=cover_frame&width=720",
|
||||
"height": 1280,
|
||||
"width": 720
|
||||
},
|
||||
{
|
||||
"url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/806299489_18624728518024548_8282126995775909321_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_cat=109&ig_cache_key=abc.3-ccb7-5&efg=cover_frame&width=640",
|
||||
"height": 640,
|
||||
"width": 640
|
||||
},
|
||||
{
|
||||
"url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-15/806299489_18624728518024548_8282126995775909321_n.jpg?stp=dst-jpg_e15_s320x320_tt6&_nc_cat=109&ig_cache_key=abc.3-ccb7-5&efg=cover_frame&width=320",
|
||||
"height": 320,
|
||||
"width": 320
|
||||
}
|
||||
]
|
||||
},
|
||||
"has_audio": true,
|
||||
"video_versions": [
|
||||
{
|
||||
"type": 101,
|
||||
"url": "https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQOsyEB80vwVJZ1X8Ang509fDOvIQYYT5Sw8ILSanSG2u_RQcsqL4IXxAs-sjup.mp4?_nc_cat=102&_nc_sid=5e9851&efg=xpv_progressive_720&width=720"
|
||||
},
|
||||
{
|
||||
"type": 102,
|
||||
"url": "https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQOsyEB80vwVJZ1X8Ang509fDOvIQYYT5Sw8ILSanSG2u_RQcsqL4IXxAs-sjup.mp4?_nc_cat=102&_nc_sid=5e9851&efg=xpv_progressive_480&width=480"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user