我可以在屏幕保护程序中嵌入浏览器吗?在 Windows 和 Mac 上?
事情是这样的。我在 Actionscript3/Flash 中对各种“屏幕保护程序”进行了动画制作和编码。他们广泛使用时间线、AS3 代码、TweenLite 库和嵌入字体。这是我的编程知识的极限。我尝试过使用各种软件(例如 InstantStorm)将 .SWF 文件转换为屏幕保护程序文件,但没有成功。不知怎的,它永远无法工作,代码永远无法正确执行,这是一场灾难。
因此,我想知道是否可以制作一个仅包含嵌入式浏览器的屏幕保护程序,并使其指向托管在我的网络服务器上的 .SWF 文件。基本上,想象一个全屏网站充当屏幕保护程序。
如果可能的话,对于我来说,为 PC 和 Mac 制定解决方案的最简单、最快的方法是什么?语言等。我希望有一个库,我可以简单地从中提取内容来嵌入浏览器视图:)
Here's the deal. I've animated + coded a variety of 'screensavers' in Actionscript3/Flash. They make extensive use of the timeline, AS3 code, the TweenLite library, and embedded fonts. That's the limit of my programming knowledge. I've tried, to no avail, to convert my .SWFs into screensaver files using a variety of software, such as InstantStorm. Somehow it never works, the code never executes properly, it's a disaster.
So, I'm wondering if it's possible to make a screensaver that simply contains an embedded browser, and have it point to my .SWF file, hosted on my web-server. Basically, imagine a full-screen website acting as a screensaver.
If this is possible, what is the EASIEST and FASTEST way for me to whip up a solution for both PCs and Macs? Language, etc. I'm hoping something that has a library I can simply draw from to embed the browser view :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我的初创公司正在开发一款产品来做到这一点,它被称为 Screensaver Ninja,您可以在 https://Screensaver.Ninja。
您可以使用不同的计时器设置许多不同的网页。配置工具允许您登录并导航到要显示的页面:
它使用 WebKit,在Mac OS X 使用 Safari,在 Windows 上使用 Chrome,在这两种情况下,它都有与计算机上安装的任何其他浏览器不同的会话。
My startup is developing a product to do exactly this, it's called Screensaver Ninja and you can find it at https://Screensaver.Ninja.
You can set many different web pages with different timers. The configuration tool allows you log in and navigate to the page you want to display:
It uses WebKit, on Mac OS X it uses Safari's and on Windows it uses Chrome's and in both cases it has a separate session from any other browser installed on the computer.
这是一个仅限 Windows 的小型解决方案:
https://github.com/cwc/web-page -屏幕保护程序/发布
Here's a small Windows-only solution:
https://github.com/cwc/web-page-screensaver/releases
您可以修改此适用于 Mac 的开源软件,以便将其硬编码到您的 URL:
http://www.liquidx.net/blog/2010/11/13/webviewscreensaver-for-mac/
修改
hasConfigureSheet()
返回NO
并更改kScreenSaverDefaultURL
中的 URL。并且改名字!You could modify this open-source one for the Mac so that it's hard-coded to your URL:
http://www.liquidx.net/blog/2010/11/13/webviewscreensaver-for-mac/
Modify
hasConfigureSheet()
to returnNO
and change the URL inkScreenSaverDefaultURL
. And change the name!