Languages

Menu
Sites
Language
Youtube DeepLink from Tizen App

Hi, 

I was supposed to make a deep linking service from my own Tizen app to specific Youtube video content.

I think the problem is that I don't know exact payload or uri (what is youtube scheme for Tizen TV?).

I tried Youtube Scheme (https://, youtube:// , m.youtube://, vnd:youtube://) but all is not working.

Also, I tried to make correct payload so I tried a lots of payload which is JSON type.

Is there anyone who succeed to make a deep linking to direct youtube video content?

Here is my code,

const payload = {
items: [
{
kind: "youtube#video",
id: "_tzyFMgR8yk",
},
],
};
 
const data = new tizen.ApplicationControlData("PAYLOAD", [
JSON.stringify(payload),
]);
 
let appControl = new tizen.ApplicationControl(
tizen.org/appcontrol/operation/pick",
null,
null,
null,
[data]
);
 
tizen.application.launchAppControl(
appControl,
null,
Success,
Failed
);