This library helps to implement Googles VR View library in Angular.
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>
If you find any bugs and/or want to contribute, feel free to submit issues or pull requests.
Under the MIT license.
See LICENSE file for more details.
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!