Start a new topic

VideoDrawables on Location AR ?

VideoDrawables on Location AR ?


Hello Mehmet,

You can refer to this documentation to see how you can have a transparent video in your app.

http://www.wikitude.com/external/doc/documentation/latest/android/video.html#transparentvideo

I hope this should help.

Hi, I am trying to show transparent videos like marker object.

To do so, I have tired this;

function Marker(poiData) {

    

...

    

    this.video = new AR.VideoDrawable("assets/transparentVideo.mp4", 0.7, {

                                     offsetX: -0.2,

                                     offsetY: -0.12,

                                     isTransparent: true,

                                      onLoaded: function(){

                                      this.play();

                                      }

                                     });

 

    ...

 

    this.markerObject = new AR.GeoObject(markerLocation, {

                                     drawables: {

                                     cam: ,

                                     indicator: ,

                                     radar: this.radardrawables

                                     }

                                     });

 

 

    ...

 

    }

 

Video starts playing without picture only sound. 

 

Any idea, what is wrong? or Is this even possible with wikitude sdk?
Login or Signup to post a comment