Open phanirithvij opened 3 years ago
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
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.
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!
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
tohttps://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.