[UWP]添加Web媒体扩展作为我的UWP Web应用程序的依赖项 [英] [UWP]Adding web media extensions as a dependency of my UWP web app

查看:998
本文介绍了[UWP]添加Web媒体扩展作为我的UWP Web应用程序的依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我发布此问题是因为我在尝试将我的网络应用移植到UWP时遇到了问题。

Hello, I'm posting this question because I have an issue trying to port my web app to UWP.

我的网络应用是由Visual Novel Maker引擎生成的,这个游戏引擎大部分时间使用OGG作为其大部分音频的格式,当将游戏移植到UWP并在我的Xbox One上进行测试时,我注意到由于网络
媒体,音频无法解码默认情况下,xbox上没有安装扩展包。 (https://www.microsoft.com/en-us/p/web-media-extensions/9n5tdp8vcmhs?activetab=pivot%3Aoverviewtab)

My web app is generated by the Visual Novel Maker engine, this game engine uses most of the time OGG as the format for most of its audio, when porting the game to UWP and testing it on my Xbox One, I noticed that the audio failed to decode due to the web media extensions pack not installed by default on the xbox one. ( https://www.microsoft.com/en-us/p/web-media-extensions/9n5tdp8vcmhs?activetab=pivot%3Aoverviewtab )

将ogg文件更改为WAV文件解决了问题和音频播放,但由于在游戏中有很多音频文件,因为游戏的大小,使用WAV对我的所有音频文件都不是一个好主意。

Changing the ogg files to WAV files fixed the issue and the audio plays, but since in a game there's a lot of audio files, using WAV for all of my audio files isn't a good idea due to the size the game would have.

所以我想知道在安装游戏时是否有办法将网络媒体扩展设置为依赖?

so I wonder if there would be a way to set the web media extensions as a dependency when my game gets installed ?

推荐答案

我很遗憾地说现在有安装应用程序时,无法将另一个应用程序作为依赖项下载。我的建议是在您的网络应用中提示,引导用户访问商店的网络媒体扩展页面并下载。

I'm sorry to say that currently there is no such way to download another app as dependency when your app is installed. My suggestion is that make a tip in your web app to guide the users to the Web Media Extensions page of the store and download it.

祝你好运,

Roy


这篇关于[UWP]添加Web媒体扩展作为我的UWP Web应用程序的依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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