Event JSON
{
"id": "d642893bb2ab2239614679d6dad9c0ae5811ce394314d005dd24f80b69f55274",
"pubkey": "ba9d498f21902a9836dea1ae3d1dd894e5507155cf229c47a8275ff8152f9a14",
"created_at": 1706047490,
"kind": 1,
"tags": [
[
"p",
"096d2c539de01a90dfa33a8db053d15a6379de3bc71167457adc90a27b46b363",
"wss://relay.mostr.pub"
],
[
"p",
"de6adda4d139627ce8f9cf05ef27c7cd1de9895363e5f303667f761bec318716",
"wss://relay.mostr.pub"
],
[
"e",
"967f3e3d486fdd283a4ecf40933fcec19e8965677b51aa57e2293e3e65b07edc",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"movie_player"
],
[
"proxy",
"https://mastodon.social/users/zhenyi/statuses/111807528364516359",
"activitypub"
]
],
"content": "nostr:npub1p9kjc5uauqdfphar82xmq573tf3hnh3mcugkw3t6mjg2y76xkd3sum865w Is injecting JavaScript an option? If so, you could try something like this:\n\n`\nmp = document.querySelector('#movie_player');\nwidth = mp.getPlayerResponse().streamingData.formats[0].width;\nheight = mp.getPlayerResponse().streamingData.formats[0].height;\n\n// width/height is the aspect ratio\n`",
"sig": "18170b9f73f38b3e5d03058f35e873ce3a0abc325aed6a2b033364654c59da359e4bfabaf7a25dd90271e0f4b3dd147e8463d6e66869f3d3837e01a86bb3fc00"
}