Start a new topic

How i can make bigger a video?

How i can make bigger a video?

Hello there!

I have the next code:

var World = {

loaded: false,


init: function initFn() {




createOverlays: function createOverlaysFn() {


this.tracker = new AR.Tracker("assets/", {

onLoaded: this.worldLoaded



// creamos un overlay


var video = new AR.VideoDrawable("assets/video.mp4", 0.5, {

   offsetX: 0.2,

   offsetY: 0.2



var nebulosa = new AR.Trackable2DObject(this.tracker, "nebulosa", {

drawables: {

cam: video 


    onEnterFieldOfVision: function onEnterFieldOfVisionFn () {;








But I want to watch the video bigger.


I expect than you can give me a solution quickly.

Thanks and sorry about the bad english, but I don´t speak so much

Hi Marco,

Please check the documentation of VideoDrawables. The second parameter of the VideoDrawable constructor defines the size of the VideoDrawable.



Thank you so much Martin

I configured the parameter and it works perfectly.
I appreciate your help
greetings to you

Login or Signup to post a comment