Why Nostr? What is Njump?
2024-01-23 22:04:50
in reply to

Zhenyi Tan on Nostr: npub1p9kjc…m865w Is injecting JavaScript an option? If so, you could try something ...

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
`
Author Public Key
npub1h2w5nrepjq4fsdk75xhr68wcjnj4qu24eu3fc3agya0ls9f0ng2qwcjzqt