Skip to content

[FEATURE REQUEST] - shadertoy fullscreen #13

Open

Description

@phanirithvij

I've come across an open-source wallpaper engine https://github.com/rocksdanister/lively it makes URLs from the shadertoy website for example https://www.shadertoy.com/view/4dcGRn into fullscreen automatically.

I know this is just a wp wrapper but is it possible to click on the fullscreen button in the webview (say automatically when we detect known site urls) or something?

I believe we can do this https://github.com/rocksdanister/lively/blob/dev-v1.0-fluent-netcore/src/livelywpf/livelywpf/Views/Wallpapers/WebView2Element.xaml.cs#L287

Just replace the URL from https://www.shadertoy.com/view/4dcGRn to https://www.shadertoy.com/embed/4dcGRn?gui=false&t=10&paused=false&muted=true

I don't know this autoit language to make a PR even though it looks simple enough.

Activity

  1. SegoCode commented on Jun 15, 2021

    @SegoCode
    Owner

    Hi,
    Make the url https://www.shadertoy.com/view/4dcGRn to https://www.shadertoy.com/embed/4dcGRn?gui=false&t=10&paused=false&muted=true automatically? I did not know that website, looks cool.

    If so, I should add a button to mute or unmute the sound, right? also should add the same functionality for youtube videos, currently you have to build the url https://www.youtube.com/embed/(VIDEO_ID)?autoplay=1&loop=1&mute=1&playlist=(VIDEO_ID)

    Anyway this functionality can be included in the golang webView or in autoit source, have to think about

  2. phanirithvij commented on Jun 15, 2021

    @phanirithvij
    Author

    I think it's easier to just change the url automatically in code instead of giving mute option. But long-term someone might request mute option so that's also something to think about.

    Yeah it's a great website used by lot of game devs. It has tons of great live wallpapers.

  3. SegoCode commented on Jun 16, 2021

    @SegoCode
    Owner

    Hmm for now I will add it to the readme like youtube, if I get a lot of requests here I will implement it. Thx!

  4. changed the title [-]shadertoy fullscreen[/-] [+][FEATURE REQUEST] - shadertoy fullscreen[/+] on May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions