Update hello world

This commit is contained in:
Chocobozzz
2021-06-30 16:44:42 +02:00
parent ea025763fb
commit 7e43cb5f18
5 changed files with 62 additions and 19 deletions

View File

@ -4,6 +4,14 @@ function register ({ registerHook, peertubeHelpers }) {
handler: () => alert('video loaded')
})
registerHook({
target: 'filter:internal.player.videojs.options.result',
handler: (options) => {
options.poster = 'https://joinpeertube.org/img/brand-with-v3.png'
return options
}
})
console.log(peertubeHelpers.translate('toto'))
}