如何将youtube视频嵌入WPF MediaElement并保存视频? [英] how do I embed a youtube video into a WPF MediaElement and save the video?

查看:178
本文介绍了如何将youtube视频嵌入WPF MediaElement并保存视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将youtube视频嵌入MediaElement并保存视频?我知道一旦您在应用程序中有了对象,就可以对其进行某种控制(我认为)。如果我是对的,将YouTube视频嵌入MediaElement中后,是否可以保存该视频?谢谢。

Is there a way to embed a youtube video into a MediaElement and save the video? I know that once you have an object inside your application you can have some sort of control over it(I think). If I'm correct, is it possible to save the youtube video once it is embedded inside the MediaElement? Thanks.

推荐答案

Youtube视频不能作为文件使用,因为它们是流。这使得保存它们有点困难(实际上,JDownloader可以做到这一点,但这是对YT条款的侵犯),但是要回放,请检查本指南

Youtube videos are not available as files, as they are streams. that makes it a bit hard to save them (Actually you can, JDownloader does that, but that's infringement of YT terms), but for playback, check this guide.

这篇关于如何将youtube视频嵌入WPF MediaElement并保存视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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