Great project and great effort with everything done so far..!
My project involves running a browser in kiosk mode to display either
1. YouTube video
2. Carousel of images
3. Live Stream
These are displayed when certain events are triggered.
I have tried using kweb as a browser but it doesn't function, my page uses a lot of ajax polling to monitor for events - I suspect that's why
I have to resort to chromium-browser which works well apart from it hogging memory
I would normally play the Live Stream or video using embedding native within chromium but have now decided to use omxplayergui
After reading the manual I have tried to use the below command to play my live stream in the chromium browser but it says "no video".
http://localhost:9192/play?url=https:// ... hannel=<my channel ID>
using a "normal" YouTube link works fine
If try to use Twitch
http://localhost:9192/play?url=%27https ... hannel=<my channel name>
I get the same issue "no video"
using the above links on their own work fine:
https://www.youtube.com/embed/live_stream?channel=<my channel ID>
https://player.twitch.tv/?channel=<my channel name>
The goal is to embed my stream into a iframe src which dynamically changes with omxplayergui opening and closing when needed
<iframe src="
http://localhost:9192/play?url=https:// ... hannel=<my channel ID>&omxoptions=--win;200,140,1800,1040;stop" width="0" height="0" name="video"></iframe>
I have the server started in silent mode
#bgstart_ytdl_server.sh &
I have tried quoting the stream after the "url" part
Is possible to play my streams?
Question 2
Is it possible to close/open omxplayergui using javascript?
Question 3
the manual mentions (page 19) that when omxplayergui is running then all activity on the webpage stops (JavaScript etc) is it possible to keep all that running whilse the player is playing? As I still need to monitor for events in the background
thank you