Verified Commit ed3ac5bd authored by Chocobozzz's avatar Chocobozzz
Browse files

Add latest client helpers

parent 82fd4f74
......@@ -29,6 +29,20 @@ function register ({ registerHook, peertubeHelpers }) {
}
})
peertubeHelpers.showModal({
title: 'my super modal',
content: 'hello, do you like my modal?',
close: true,
cancel: {
value: 'Cancel',
action: () => console.log('Canceled')
},
confirm: {
value: 'Confirm',
action: () => console.log('Confirmed')
}
})
}
export {
......
......@@ -45,6 +45,8 @@ function register ({ registerHook, peertubeHelpers }) {
return result
}
})
peertubeHelpers.notifier.info('you are on the watch page', 'useless', 1000)
}
export {
......
{
"name": "peertube-plugin-hello-world",
"version": "0.0.14",
"version": "0.0.15",
"description": "Hello world PeerTube plugin example",
"engine": {
"peertube": ">=1.3.0"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment