Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道视频(在项目中使用)是否应该存储为资源。如果这是管理此类媒体的好方法,如何使用MediaElement来播放这些视频?
MediaElement
像往常一样,这取决于。
一些非常短的视频,如 Windows 中的 CopyFile 动画,可以存储为资源。
但对于较大的视频,这不是一个很好的选择。 另一个因素可能是:它们多久改变一次?
通常它们被部署为单独文件夹中的文件。