peertube-theme-nctv-dark/peertube-plugin-video-annotation/client/embed-client-plugin.js
2020-08-21 14:46:25 +02:00

13 lines
259 B
JavaScript

const shared = require('./shared-player')
function register ({ registerHook }) {
registerHook({
target: 'action:embed.player.loaded',
handler: ({ player, videojs, video }) => shared.buildPlayer(video, player, videojs)
})
}
export {
register
}