有没有办法在没有下载的情况下观看电影? [英] Is there any way to watch film without downloading?

查看:193
本文介绍了有没有办法在没有下载的情况下观看电影?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起我的愚蠢问题。



我有个主意但无法做到这一点。



我有一个客户端应用程序(Windows窗体)和一个服务器应用程序。服务器应用是Firefox浏览器。从客户端,我将通过客户端应用程序(称为远程应用程序)连接到浏览器。之后,我将通过客户端应用程序在客户端计算机上查看和使用浏览器。



下一步。客户端将向服务器发送一条消息:我希望您连接到www.youtube.com。服务器将收到客户端请求,并致电浏览器连接并加载页面www.youtube.com



加载后,YouTube.com页面将出现在客户端机器通过客户端应用程序。



然后,我将输入:Harry Potter在YouTube文本框中搜索电影。通过点击链接,可以看到临时文件。这部电影将被下载并存储在服务器位置,我可以正常开始观看电影。



如果我不错过,临时文件电影的内容 - 将在服务器上下载 - 将继续转移到我可以观看的客户端应用程序。



我的意思是:当我需要观看哈利时波特"电影,临时文件将由Firefox浏览器在服务器上下载。然后,浏览器会将它发送到客户端应用程序。



这是我的问题:在Firefox浏览器下载电影的临时文件后,有没有办法显示电影客户端应用程序没有从服务器接收临时文件?



这意味着有一个刷新客户端应用程序按钮。 Firefox浏览器完成下载后,我只能点击刷新按钮。按钮显示电影。客户无需重新下载来自服务器的电影。



感谢您的帮助!

Sorry for my silly question.

I have an idea and have no way to do that.

I have a Client application (Windows form) and a Server application. Server application is Firefox browser. From Client, I will connect to the browser via Client application (which called "Remote application"). After that, I will see and use the browser on Client machine through Client application.

Next. Client will send to Server a message: "I want you connect to www.youtube.com". Server will receive Client request, and call the browser to connect and load page "www.youtube.com"

After loading, the page YouTube.com will appear on Client machine via Client application.

Then, I will type: "Harry Potter" in the YouTube textbox to search the film. By a click to the link, the "temporary files" of the film will be downloaded and stored in Server location, and I can start watching the film normally.

If I don't miss, the "temporary files" of the film - which will be downloaded on Server - will continue transferring to Client application as I can watch.

I mean that: When I require to watch "Harry Potter" film, the temporary files will be downloaded by Firefox browser on Server. Then, the browser will send it to Client application.

Here is my question: After Firefox browser download temporary files of the film, is there any way to show the film on Client application without receiving temporary files from Server?

That mean having a "Refresh" button on Client application. When Firefox browser finished downloading, I can click only the "Refresh" button to show the film. Client needn't to "re-download" the film from Server.

Thank you for help!

推荐答案

不,您的服务器应用程序不是Firefox浏览器。



所有浏览器(IE,Firefox,Chrome,Opera等)都在客户端运行,并与在Web服务器上运行的基于服务器的应用程序通信(另一个了解如何管理网站的程序)。



即使你在WinForms应用程序中包含一个Web浏览器 - 这很容易做到,只需删除一个WebBrowser控件它仍然在客户端运行,而不是服务器。

服务器是无人值守的,因此浏览器没有任何意义。



如果您想在客户端观看电影,您必须以某种形式发送视频数据 - 在您的场景中意味着将临时文件发送给客户。



替代方案是 Streaming [ ^ ]:服务器从提供者到客户端引导视频,但数据不通过服务器进入第一名。
No, your server application is not Firefox browser.

All browsers (IE, Firefox, Chrome, Opera, ...) run oin the client, and communicate with a server based application running in a webserver (another program that understands how to manaage websites).

Even if you include a web browser in your WinForms application - and that's easy to do, just drop a WebBrowser control on it) it still runs at the client, never the server.
Servers are unattended, so browsers do not make any sense there.

If you want to watch a film on your client, you have to send the video data in some form - which in your scenario means "sending the temporary files" to the client.

The alternative is Streaming[^]: where the video is "guided" by the server from the provider to the client but the data doesn't go via the server in the first place.


这篇关于有没有办法在没有下载的情况下观看电影?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆