MobileSheets Forums
certain Youtube links in PDF not working - Printable Version

+- MobileSheets Forums (https://zubersoft.com/mobilesheets/forum)
+-- Forum: Support (https://zubersoft.com/mobilesheets/forum/forumdisplay.php?fid=1)
+--- Forum: MobileSheetsPro (Android) (https://zubersoft.com/mobilesheets/forum/forumdisplay.php?fid=23)
+--- Thread: certain Youtube links in PDF not working (/showthread.php?tid=5733)



certain Youtube links in PDF not working - Blumi - 09-20-2019

error in Mobile Sheets Pro v2.7.4 (Android):

Youtube link in a PDF document doesn't work, if it has the form https://youtu.be/okvl-9svtS0 (which is standard, when using the 'copy Video-URL' function in Youtube).
Error message: file /okvl-9svtS0 not found

However the link works properly if it looks like this https://www.youtube.com/watch?v=okvl-9svtS0 (as it can be copied from the browsers' address line)

I am not sure if it worked prior to the latest update.

Both link types work properly, if the PDF file is opened in an PDF viewer app other than Mobile Sheets


RE: certain Youtube links in PDF not working - Zubersoft - 09-20-2019

Most likely a bug due to incorrectly detecting the type of link. I use Android's code to try to look up the type of data being linked, and it must not be returning what I'm expecting if www is missing from the address. I'll probably have to put in an explicit check for https and ignore what their library is telling me.

Thanks,
Mike


RE: certain Youtube links in PDF not working - sciurius - 09-20-2019

A link like https://youtu.be/okvl-9svtS0 is handled via redirection to https://www.youtube.com/watch?v=okvl-9svtS0. Maybe the link detection does not follow redirection?


RE: certain Youtube links in PDF not working - Zubersoft - 10-15-2019

I've got a fix in place for this now for the next update.

Thanks,
Mike