Languages

Menu
Sites
Language
I want to access youtube video in my application.I am having security probblem with xml file

     Hi,

             I want to access YouTube video in my application.There are problem with security cirtificate.How to add below url in xml file.

 Which URL is required for this.

Please help me

 

                                                         

 

 

 

Thanks and regards

Mohit Kumar

 

Responses

3 Replies
Seoghyun Kang

Dear Mohit Kumar,

 

I cannot understand your question.

If user chocie the "Allow" at the popup, there is no problem. I can see the youtube video on emulator.

It is right that you want to do not show the popup? I think it is impossible.

 

By the way..

As you know, you need to use the following code at config.xml

 

 

 

    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <access origin="*" subdomains="true"></access>

 

 

mohit kumar

Hi,

My xml file is this.I dont want the above dialog will appear.Then what to do.

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/yourstory3" version="1.0.0" viewmodes="maximized">
    <access origin="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js" subdomains="true"></access>
    <access origin="*" subdomains="true"></access>
    <tizen:application id="cCNeVlOgro.yourstory3" package="cCNeVlOgro" required_version="2.3"/>
    <content src="English.html"/>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="icon.png"/>
    <name>yourstory3</name>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:profile name="mobile"/>
</widget>

 

Thanks and regards

Mohit Kumar

 

 

Seoghyun Kang

By the way,

 

When I tested it on the mobile emulator, there is the popup of security certificate.

But when I tested it on the wearable emulator, there is no popup.

 

Please refer it.