I use Spectrum2 to connect to my Google Talk/Hangouts account.
Now when people send me images (from the normal Hangouts client), I only get the plain URL to that image in Google Photos which looks like this:
https://plus.google.com/photos/albums/p7enhh7vfo23b2qsi7etjg73edt0lsm9s?pid=6397013233849043554&oid=114401272570922520936
However, this could also be a video, e.g.:
https://plus.google.com/photos/albums/pbfbs59oqtc5esk1vpmr5u8lp9lk7435n?pid=6395941184294925122&oid=115688672859150918482
The only way to differentiate them is by doing a HEAD request (AND BEING LOGGED INTO MY GOOGLE ACCOUNT) and check the 302 redirect:
- Image
https://lh3.googleusercontent.com/-DIdfNTkIyos/WMbBpLMLimI/AAAAAAABTm8/uRGLN2W_2MMQ5mKg5X_dj3VmxWHh9Z1pQCL0B/h2048/7659142062047767431%253Faccount_id%253D1
- Video
https://lh3.googleusercontent.com/gW9sFrsrhomC9Cv10kYF976HT0olvY_XaqqELr2nKjQkLfSHqAHM285EPIYPWrkFTiP0ZsnPwQ=m18
and then redirects to
https://r12---sn-i5h7ln7z.googlevideo.com/videoplayback?id=6c2b6ae3a73c5fe9&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-i5h7ln7z&ms=nxu&mv=m&pl=18&sc=yes&ei=XPLHWNWbBciFcqfrilA&mime=video/mp4&lmt=1489171057023220&mt=1489498594&ip=145.243.194.212&ipbits=8&expire=1489527516&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,pl,sc,ei,mime,lmt&signature=5922F0B564E3354FF96B1C89F973AC1B5E24971A.A026BAFA18AF6A009229E2015035A433852CD6BE&key=ck2
It would be nice if Spectrum2 could intercept those messages, download the actual image, generate a thumbnail and forward the message along with the thumbnail (XHTML-IM).
I use Spectrum2 to connect to my Google Talk/Hangouts account.
Now when people send me images (from the normal Hangouts client), I only get the plain URL to that image in Google Photos which looks like this:
However, this could also be a video, e.g.:
The only way to differentiate them is by doing a HEAD request (AND BEING LOGGED INTO MY GOOGLE ACCOUNT) and check the 302 redirect:
It would be nice if Spectrum2 could intercept those messages, download the actual image, generate a thumbnail and forward the message along with the thumbnail (XHTML-IM).