From d7c7fc5e580ea76f6ef1f5670db9dbcec6407519 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Nov 2022 14:43:21 +0100 Subject: [PATCH] Publish beta version --- .../client/video-watch-client-plugin.js | 9 +++++++++ peertube-plugin-hello-world/package-lock.json | 2 +- peertube-plugin-hello-world/package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/peertube-plugin-hello-world/client/video-watch-client-plugin.js b/peertube-plugin-hello-world/client/video-watch-client-plugin.js index d9a2988..ebda8f7 100644 --- a/peertube-plugin-hello-world/client/video-watch-client-plugin.js +++ b/peertube-plugin-hello-world/client/video-watch-client-plugin.js @@ -132,6 +132,15 @@ function register ({ registerHook, peertubeHelpers }) { // --------------------------------------------------------------------------- + registerHook({ + target: 'action:video-watch.player.loaded', + handler: ({ videojs }) => { + console.log(videojs.VERSION) + } + }) + + // --------------------------------------------------------------------------- + peertubeHelpers.notifier.info('you are on the watch page', 'useless', 1000) } diff --git a/peertube-plugin-hello-world/package-lock.json b/peertube-plugin-hello-world/package-lock.json index b6754a7..3a9c8a9 100644 --- a/peertube-plugin-hello-world/package-lock.json +++ b/peertube-plugin-hello-world/package-lock.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-hello-world", - "version": "0.0.20", + "version": "0.0.21-beta.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/peertube-plugin-hello-world/package.json b/peertube-plugin-hello-world/package.json index b35f000..ca153ed 100644 --- a/peertube-plugin-hello-world/package.json +++ b/peertube-plugin-hello-world/package.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-hello-world", - "version": "0.0.20", + "version": "0.0.21-beta.1", "description": "Hello world PeerTube plugin example", "engine": { "peertube": ">=3.2.0"