Start a new topic

Youtube video not working on fullscreen

Youtube video not working on fullscreen


Youtube video is not working with fullscreen.

Code:

AR.context.startVideoPlayer("https://www.youtube.com/watch?v=Fhskvloj1gE");

Error:

Cannot play video Sorry, this video cannot be played 

 

Hello Salman,

Could you please tell me what Wikitude product you have?

Thanks

Hi,

Thanks for the response. I am using Cordova plugin and my testing devices is Samsung Galaxy s4.

Hi,

If you are using Cordova then URLs from video hosting services need to point directly to H.264 encoded video file. Standard YouTube and Vimeo URLs (like http://www.youtube.com/watch?) will not work for this purpose. Please refer to the documentation below for further information.

http://www.wikitude.com/external/doc/documentation/latest/phonegap/video.html#video-drawables

Thanks
Login or Signup to post a comment