Javascript 具有透明背景的智能电视应用程序:在背景中显示电视广播

Javascript 具有透明背景的智能电视应用程序:在背景中显示电视广播,javascript,css,html,samsung-smart-tv,Javascript,Css,Html,Samsung Smart Tv,在智能电视应用程序(三星、LG…)中是否可以在应用程序背景中显示电视输入流/广播? 意思:用应用程序用户界面覆盖正在观看的频道/内容 在三星2011智能电视模拟器中,我看到如果我将应用程序主体背景设置为透明: body { width: 960px; height: 540px; background-color:transparent; } 我可以看到电视输入流(改变风景图片),但在2012/13模拟器中看不到 在真正的电视上(以及在2012/13模拟器上)有可能获得

在智能电视应用程序(三星、LG…)中是否可以在应用程序背景中显示电视输入流/广播? 意思:用应用程序用户界面覆盖正在观看的频道/内容

在三星2011智能电视模拟器中,我看到如果我将应用程序主体背景设置为透明:

body
{
    width: 960px;
    height: 540px;
    background-color:transparent;
}
我可以看到电视输入流(改变风景图片),但在2012/13模拟器中看不到


在真正的电视上(以及在2012/13模拟器上)有可能获得同样的效果吗?

您需要创建一个股票行情应用程序。对于这种类型的应用程序,将config.xml文件中ticker标记的值设置为“y”,下面是一个示例:

<?xml version="1.0" encoding="UTF-8"?>
<widget>
    <cpname itemtype="string"></cpname>
    <cplogo itemtype="string"></cplogo>
    <cpauthjs itemtype="string"></cpauthjs>
    <ThumbIcon itemtype="string">icon/icono106.png</ThumbIcon>
    <BigThumbIcon itemtype="string">icon/icono115.png</BigThumbIcon>
    <ListIcon itemtype="string">icon/icono85.png</ListIcon>
    <BigListIcon itemtype="string">icon/icono95.png</BigListIcon>
    <category itemtype="string"></category>
    <autoUpdate itemtype="boolean">n</autoUpdate>
    <ver itemtype="string">0.100</ver>
    <mgrver itemtype="string"></mgrver>
    <fullwidget itemtype="boolean">n</fullwidget>
    <type itemtype="string">user</type>
    <srcctl itemtype="boolean">y</srcctl>
    <ticker itemtype="boolean">y</ticker>
    <childlock itemtype="boolean">n</childlock>
    <videomute itemtype="boolean">n</videomute>
    <dcont itemtype="boolean">y</dcont>
    <widgetname itemtype="string">App</widgetname>
    <description itemtype="string"></description>
    <width itemtype="string">1280</width>
    <height itemtype="string">720</height>
    <author itemtype="group">   
        <name itemtype="string"></name> 
        <email itemtype="string"></email>   
        <link itemtype="string"></link>           
        <organization itemtype="string">
        </organization>
    </author>
</widget>

icon/icono106.png
icon/icono115.png
icon/icono85.png
icon/icono95.png
N
0.100
N
用户
Y
Y
N
N
Y
应用程序
1280
720