How to play a Video on youtube.com web page

How to play a Video on youtube.com web page

BY 04 Oct 2013 Native Application Development

Hi All,

I cannot play a video from http://www.youtube.com/embed/XGSy3_Czz8k in Native App.

I use Tizen SDK v 2.1.

    // String videoFilePath = App::GetInstance()->GetAppResourcePath() + L”tizen.mp4″;
    String videoFilePath = App::GetInstance()->GetAppResourcePath() + L”http://www.youtube.com/embed/XGSy3_Czz8k”;

    // Creates an instance of Player
    __pPlayer = new Player();
    __pPlayer->Construct(*this, &bufferInfo);
    __pPlayer->SetLooping(true);
    __pPlayer->OpenFile(videoFilePath);
    __pPlayer->Play();

Thanks

 

Written by