Hi,
I am trying to use the vimeo component in an Angular application but I'm having two issues currently. I am thinking (or hoping?) both should have a similar easy solution:
The video will only show up once I click on the enter vr button.
Can be reproduced by copying the code one of the examples into an angular component. It works, but only after clicking on enter vr. Before that it just shows a white screen. Video is still showing after exiting vr mode.
I would like to be able to change the video that is showing eg when pressing an button etc.
I can do something like
this.vimeoElement.nativeElement.setAttribute("vimeo", 'id: ' + this.vimeoId + '; autoplay: false; loop: false');
But this will only work for setting up the first video. (And only after clicking enter vr, see 1). Video won't change when i do this later on.
Hi, I am trying to use the vimeo component in an Angular application but I'm having two issues currently. I am thinking (or hoping?) both should have a similar easy solution:
The video will only show up once I click on the enter vr button. Can be reproduced by copying the code one of the examples into an angular component. It works, but only after clicking on enter vr. Before that it just shows a white screen. Video is still showing after exiting vr mode.
I would like to be able to change the video that is showing eg when pressing an button etc. I can do something like
this.vimeoElement.nativeElement.setAttribute("vimeo", 'id: ' + this.vimeoId + '; autoplay: false; loop: false');
But this will only work for setting up the first video. (And only after clicking enter vr, see 1). Video won't change when i do this later on.Thank you!