Help with app/overlay

Post Reply
delos23
Posts: 5
Joined: Sun Jun 14, 2026 9:06 am

Help with app/overlay

Post by delos23 »

I am trying to get youtube to just work in full screen with a way to go back to the main screen from the touch screen, I got the example for the idle screen to work, but i can not figure out for the life of me where to go from there. Any helps appreciated. Thank you
hudiy
Site Admin
Posts: 642
Joined: Mon Jul 14, 2025 7:42 pm

Re: Help with app/overlay

Post by hudiy »

It will be easiest to do this using separate overlays and an application. One overlay will be used to display YouTube in full screen and the second one for the "Go Home" icon. Both overlays will be configured to appear only on a specific application (e.g., a dummy YouTube app).

You can create the Go Home button (in HTML/JS using the Hudiy API) based on an example such as go_back.html or simply use the go_back.html directly. The HTML/JS utilizing the API should be served via an HTTP server due to the Same Origin Policy - https://developer.mozilla.org/en-US/doc ... gin_policy.

https://github.com/wiboma/hudiy/tree/ma ... javascript
https://github.com/wiboma/hudiy/blob/ma ... _back.html

Here is an example configuration:

applications.json

Code: Select all

        {
            "action": "youtube_app",
            "controlAudioFocus": false,
            "audioStreamCategory": "NONE",
            "allowBackground": false
        }
applications_menu.json

Code: Select all

        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "music_video",
            "action": "youtube_app",
            "label": "YouTube"
        }
overlays.json

Code: Select all

        {
            "identifier" : "youtube_overlay",
            "action" : "youtube_app",
            "width" : "100vw",
            "height" : "100vh",
            "x" : 0,
            "y" : 0,
            "visibility" : "ALWAYS",
            "url" : "https://youtube.com",
            "controlAudioFocus" : true,
            "audioStreamCategory" : "ENTERTAINMENT",
            "visibleOnActions" : [
                "youtube_app"
            ],
            "staticPosition" : true
        },
        {
            "identifier" : "go_home_button",
            "action" : "",
            "width" : "7vw",
            "height" : "7vw",
            "x" : 0,
            "y" : 0,
            "visibility" : "ALWAYS",
            "url" : "http://127.0.0.1:12345/go_home.html",
            "controlAudioFocus" : false,
            "audioStreamCategory" : "NONE",
            "visibleOnActions" : [
                "youtube_app"
            ],
            "staticPosition" : false
        }
yt_1.png
yt_2.png
You do not have the required permissions to view the files attached to this post.
Hudiy Team
delos23
Posts: 5
Joined: Sun Jun 14, 2026 9:06 am

Re: Help with app/overlay

Post by delos23 »

Perfect! Thank you!
wkl3968
Posts: 111
Joined: Thu Aug 07, 2025 12:22 pm

Re: Help with app/overlay

Post by wkl3968 »

I wonder where should the go_home.html located?
wkl3968
Posts: 111
Joined: Thu Aug 07, 2025 12:22 pm

Re: Help with app/overlay

Post by wkl3968 »

not sure why I couldn't load the home button. however, when tried view using the browser, I get to see the home icon via when loaded 127.0.0.1:12345/go_home.html. also the navigation keys like (1,2, arrow keys) are not functioning when it is on youtube. am I right?
You do not have the required permissions to view the files attached to this post.
hudiy
Site Admin
Posts: 642
Joined: Mon Jul 14, 2025 7:42 pm

Re: Help with app/overlay

Post by hudiy »

External websites will not support scroll (1, 2) and d-pad (left, right, up, down) controls. Regarding the home button, the URL was likely unreachable from Hudiy - the HTTP server is either down or was started after Hudiy tried to load the URL.
Hudiy Team
Post Reply