liquidx / webviewscreensaver

Mac OS X Screen Saver powered by a Web View
Apache License 2.0
1.17k stars 138 forks source link

Zoom and Autoplay settings? #73

Closed ifixr closed 6 months ago

ifixr commented 2 years ago

A website in Safari has setting such as Zoom or Autoplay. I'm really in need for the Autoplay settings as I want this saver to also play videos on websites. It would be great if the saver honoured settings from Safari, or has settings for all websites it plays.

trusktr commented 1 year ago

I'm wondering about this too. Safari/Webkit (and pretty much all browsers) require user interaction such as click or touch in order to start playing audio.

Can we bypass this in webviewscreensaver?

agologan commented 1 year ago

User interaction yeah, that wouldn't work but not all websites require it, see https://github.com/liquidx/webviewscreensaver/issues/52 for some ideas.

I don't know about "honouring setting from Safari" part but I think you're referring saving website settings for which there is a fork.

agologan commented 6 months ago

Might want to try v2.3 to preview and interact with the website during configuration. Cookies and local storage is shared. Won't solve every case.

Although advanced scripting is possible we aim to keep the project simple. It should be easy enough to fork and add custom user scripts via evaluateJavaScript or WKUserScript.