Youtube DeepLink from Tizen App
By oh
23 Jun 2022 01:34
English
0 Replies
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
);
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.