amirchev / OBS-OpenLP-Lyrics-Interface

This is a custom stage for OpenLP. It can be connected to OBS as a custom browser dock and browser source, allowing you to display lyrics that appear on your slides in OBS.
Apache License 2.0
19 stars 10 forks source link

Missing dependency - jQuery and /files/ path #1

Closed SkepticalTrueBeliever closed 4 years ago

SkepticalTrueBeliever commented 4 years ago

Both control.html and stage.html refer to

Which version of jquery.min.js is required?

How about moving all dependencies into this same directory?

amirchev commented 4 years ago

This tool is a stage for the OpenLP Remote plugin. Those links to jQuery and other resources in the /pages directory will exist when OpenLP links them internally. Are you getting errors?

SkepticalTrueBeliever commented 4 years ago

I get a blank page with just a small (about 1 cm^2) grey square in the middle.

I'm using this with OpenLP 2.4.6.

amirchev commented 4 years ago

Yes, your browser source will display that small box when there are no lyrics to display. You can consider it a known bug. I have not gotten around to fixing it (it's due to the padding of the lyrics div). Make sure you have a live slide on OpenLP AND that you have received the text in the control. Click display next and it should appear.

SkepticalTrueBeliever commented 4 years ago

I do have a set of live slides cycling. I can see them in other browser windows connected to /main and /stage, as well as on the connected projector.

amirchev commented 4 years ago

Does the text pop up in the preview in the control.html?

SkepticalTrueBeliever commented 4 years ago

When I create a browser source for http://_ipaddress_:4316/stage/stream, the only thing that show is the preview is that small square grey square. Is this what you were asking? I haven't specified control.html in the path.

amirchev commented 4 years ago

Yes, you need to also add a custom browser dock to control what part of the slide is displayed. Otherwise nothing will be displayed in the browser source.

amirchev commented 4 years ago

I added a new guide, btw, that may be helpful.

https://obsproject.com/forum/resources/using-openlp-interface-for-lyrics.1009/