• 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
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply
#4
I've got a fix in place for this now for the next update.

Thanks,
Mike
Reply
#5
Many thanks for the fix, Mike.
It works perfectly now.
Great software and outstanding support !
kind regards
Blumi
Reply
#6
Happy to help - thanks again for reporting the issue.

Mike
Reply




Users browsing this thread:
1 Guest(s)


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