• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
certain Youtube links in PDF not working
#1
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
kind regards
Blumi
Reply
#2
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
Reply
#3
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?
Johan
www.johanvromans.nlwww.howsagoin.nlwww.hetgeluidvanseptember.nl
Samsung Galaxy Note S4 (T830) 10.5", Android 9.0, AirTurn Duo & Digit.
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS) (backup).
Samsung A3 (A320FL), Android 8.0 (emergency).
Reply
#4
I've got a fix in place for this now for the next update.

Thanks,
Mike
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.