Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install this plugin to PeerTube ? #277

Open
tenistik opened this issue Jan 26, 2023 · 0 comments
Open

How to install this plugin to PeerTube ? #277

tenistik opened this issue Jan 26, 2023 · 0 comments

Comments

@tenistik
Copy link

Hi !
Could someone explain to me how to install this plugin in PeerTube (on Ubuntu 20.04) ?
I've used the command: "sudo npm i videojs-vr".

So...What should I do next ?
I suppose the next step is:

<script> Tag This is the simplest case. Get the script in whatever way you prefer and include the plugin after you include [video.js][videojs], so that the videojs global is available. <script src="//var/www/peertube/versions/peertube-v5.0.1/node_modules/video.js/dist/video.min.js"></script> <script src="//var/www/peertube/versions/peertube-v5.0.1/node_modules/videojs-vr/dist/videojs-vr.min.js"></script> <script> var player = videojs('my-video'); player.vr(); </script>

But i have no idea where to put it )
Should I change 'my-video' to something?

Thanks in advance for your reply!
Sorry for my english )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant