I have a solution that uses jpeg files. pdf is too slow. It goes like this:
<br>
Step 1: add Formatting tag: go to settings, select "configure formatting tags, then click on "new" then Under description give it a description I called it "music", then under tag call it: sm (for sheet music), under start HTML type: < under end HTML type: > <br>
then save that.
<br>
Step 2. in your custom folder (in the stages folder) you should have a file called "print.html" make another copy of that and call it piano.html
Now you need to edit it in an editor and add the following line in the <style> section:
#sheetmusic { width: 90%; }
then save that file.
<br>
Step 3: You need to edit any other display files, like stage.html in your custom folder by adding the following line in the <style> section, so as not to display the sheet music:
#sheetmusic { width: 0%; }
<br>
Step 4: Open your sheet music pdf in gimp editor crop it to just the first verse and export it as a .jpg (give it a meaningful name with no spaces in the file name e.g.This Is The Day Verse 1 can be saved as thisisthedayv1) do that separately for each verse and chorus etc.
Now, the only place you can save these .jpg files where they work, is in the custom folder, with the .html files.<br>
<br>
Step 5: In OpenLP edit your song. So for the example I used "This Is The Day" edit the first verse and add the following to the first line (at the start of the verse):
<br>
{sm}img id=sheetmusic src=thisisthedayv1.jpg{/sm} <br>
<br>
(note: the src is the same file name as the jpg that you created, don't add " marks, OpenLP does that automatically).
<br>
Step 6: repeat step 4 and 5 for each verse/chorus/bridge etc.<br>
<br>
Now, if you have OpenLP running, and you open that location in your browser like you do for your stage view, then it should work,
<br>
e.g. localhost:4316/stage/custom/piano.html
<br>
<br>
<br><br><br>