• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embedded URL handling?
#1
As a practice aid, I like to include a URL that links to the song (typically YouTube, but not always). What do you reckon would be "best practice" for including a URL in a ChordPro file? Seems to me that a "meta" directive might be useful. Or would it be easier to just add URL handling to MobileSheets?
Reply
#2
If you want it to be clickable, I would recommend dropping a smart button on top of the page which you can link to the URL. Tap the center of the screen to bring up the song overlay, tap the smart button icon at the bottom right that looks like a finger tapping a rectangle, tap the + icon to add a new one, then configure it as a URL.

Mike
Reply
#3
ChordPro 6 has an extension to Pango markup for this. E.g.

Code:
{comment <span href="https://www.youtube.com/watch?v=BbRgkzw4cIs">View video</span>}

This should produce a comment that has a clickable link.
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'll have to make sure to support that when I add the pango markup syntax support.

Mike
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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