Skip to content

How to install this plugin to PeerTube ? #277

Open
@tenistik

Description

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 )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions