如何在 UWP Apps 中播放 youtube 视频

How to play you tube video in UWP Apps

我需要在 uwp 应用程序中播放 YouTube 视频。我曾尝试使用 MediaPlayerElement,但它给出了不支持的视频类型错误。有没有人知道如何在 uwp apps.please share here

您好 经过对 google 的长期研究并在此处建议帮助,我找到了一个使用 web view 和 IFrame 的好解决方案,目前,这对我来说工作正常,如果有人有更好的解决方案,请提出建议. 请在此处找到完整代码 https://github.com/dharmendrasingh88/UwpWork/tree/master/Player