问题描述
如何使用java脚本和电视中的html删除UWP应用中的电视不安全区域。
how to remove TV-unsafe area in UWP app with java script and html in TV.
我正在开发一个app仅使用html5和js。
I am developing an app using html5 and js only.
推荐答案
视频播放成功但屏幕显示电视(XBOX与电视连接)不能达到全屏模式。
video is getting played successfully but screen on TV ( XBOX connected with TV ) is not upto full screen mode.
<!DOCTYPE html>
< html>
< head>
&NBSP; < meta charset =" utf-8" />
&NBSP; < meta name =" viewport"含量="宽度= 1920" />
&NBSP; < meta http-equiv =" X-UA-Compatible"含量=" IE =边缘" />
&NBSP; <标题>测试< / title>
< / head>
< body>
&NBSP; < video id =" id" src ='url_of_video'>< / video>
< / body>
< / html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1920" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title> Test </title>
</head>
<body>
<video id="id" src='url_of_video'></video>
</body>
</html>
如何将屏幕设为全屏并禁用缩放。
How can i make the screen as full screen and disable the scaling.
我已尝试更改分辨率电视。它不能解决这个问题。
I have already tried changing resolution on Tv. It does not resolve this problem.
视频与所有四个方面的电视默认缩放重叠。
video is overlapped with some default scaling in tv from all four sides.
我如何在上面显示视频全屏?
How can i show the video on full screen ?
这篇关于[UWP] [HTML]如何使用java脚本和电视中的html删除UWP应用中的电视不安全区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!