Zhenyi Tan on Nostr: npub1p9kjc…m865w Is injecting JavaScript an option? If so, you could try something ...
npub1p9kjc5uauqdfphar82xmq573tf3hnh3mcugkw3t6mjg2y76xkd3sum865w (npub1p9k…865w) Is injecting JavaScript an option? If so, you could try something like this:
`
mp = document.querySelector('#movie_player');
width = mp.getPlayerResponse().streamingData.formats[0].width;
height = mp.getPlayerResponse().streamingData.formats[0].height;
// width/height is the aspect ratio
`
`
mp = document.querySelector('#movie_player');
width = mp.getPlayerResponse().streamingData.formats[0].width;
height = mp.getPlayerResponse().streamingData.formats[0].height;
// width/height is the aspect ratio
`