我通过一系列将Tizen webapis.avplay从一个域重定向到另一个域来上传播放列表。该应用程序提供导航重定向,但不会丢失播放列表。如果您从一个域中请求一个播放列表,则它可以正常工作。 我的config.xml
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="my_id_app" version="1.0.0" height="720" width="1280" viewmodes="fullscreen">
<access origin="*" subdomains="true"/>
<tizen:application id="***.Basicapplication" package="***" required_version="2.3"/>
<content src="index.html"/>
<feature name="http://tizen.org/feature/screen.size.all"/>
<icon src="icon106.png"/>
<name>app_name</name>
<tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/>
<tizen:privilege name="http://developer.samsung.com/privilege/avplay"/>
<tizen:privilege name="http://developer.samsung.com/privilege/productinfo"/>
<tizen:privilege name="http://tizen.org/privilege/tv.audio"/>
<tizen:profile name="tv"/>
<tizen:setting screen-orientation="landscape" context-menu="disable" background-support="enable" encryption="disable" install-location="auto" hwkey-event="enable"/>
</widget>
请告诉我如何使应用程序播放播放列表?
答案 0 :(得分:0)
问题出在播放器未发送的cookie中。使用webapis.avplay.setStreamingProperty('COOKIE','...');
对其进行了修复