Skip to content

HenningKuehl/ngx-vrview

Repository files navigation

ngx VR View

This library helps to implement Googles VR View library in Angular.

GitHub license

Installation

Install with npm

npm install ngx-vrview

Install with yarn

yarn add ngx-vrview

Add module

import { VRViewModule } from "ngx-vrview";

...

@NgModule({
  declarations: [AppComponent],
  imports: [
    ...
    VRViewModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Use image component

<vrview-image [src]="https://url-to-image.com" width="100%" height="400px"></vrview-image>

Use video component

<vrview-video [src]="https://url-to-video.com" width="100%" height="400px"></vrview-video>

Contributing

If you find any bugs and/or want to contribute, feel free to submit issues or pull requests.

License

Under the MIT license.
See LICENSE file for more details.

Support me 🌟

If you find this library helpful, please consider giving it a star ⭐ on GitHub!

You may buy me a coffee if you would like to show some support for this open-source project. It will be greatly appreciated!
"Buy Me A Coffee"