sgtaziz / WebMessage

A client for communicating with the WebMessage tweak on iOS. Send and receive messages from the comfort of your computer
72 stars 12 forks source link

[Feature Request] Improvements to the web preview video player #144

Open sabogalc opened 3 years ago

sabogalc commented 3 years ago

Below I've attached images of how web link previews show up on iOS and WebMessage. All the links in this demonstration were sent from an iPhone 6S, and when WebMessage is hosted on the device that the links were sent from, the proper web preview shows up. What I mean by that is that the reddit and youtube web previews show the post's title and the video's title on WebMessage when it is hosted on the iPhone, but when it is hosted on the iPad, the web previews show the post description instead of the title. Also, the youtube web preview is playable on the iPhone's WebMessage, but not on the iPad's WebMessage, while the reddit one doesn't work on either and the Amazon one works on both. I've also left all three links at the bottom iOS iPhone iPad https://www.reddit.com/r/iamverybadass/comments/m8icrx/oh_my_god_the_terror/ https://www.amazon.com/SanDisk-Class-UHS-I-Memory-SDSDUNC-016G-GN6IN/dp/B0143RTB1E/ref=sr_1_7?dchild=1&keywords=16gb+sd+card&qid=1614657157&s=electronics&sr=1-7 https://www.youtube.com/watch?v=NtI9ovCmo_U

sgtaziz commented 3 years ago

I think the best way to handle this is to grab the metadata manually through WebMessage (if iOS metadata exists). Unfortunately, metadata information from iOS is very inconsistent, and its causing too many if statements. I will look into this.