If you’re using one of our supported CMS you just have to install our plugin and you’re all set.
Links to our plugins :
<aside> ⚠️ This approach is meant for advanced use-cases or users with unsupported CMS. This section is meant for developers.
</aside>
You should load the Live Me Up player from https://cdn.livemeup.io/player.min.js
We strongly recommend to only load the script when the button to launch the player is clicked. Here’s an example in javascript:
<script>
function registerCTAOnClickListerner() {
document.getElementById('lmu-live-start').addEventListener('click', () => {
if (typeof bellepoque === 'undefined') {
const script = document.createElement('script');
script.src = '<https://cdn.livemeup.io/player.min.js>';
script.type = 'text/javascript';
document.head.appendChild(script);
script.onload = function() {
bellepoque.startPlayer(your-event-id);
}
} else {
bellepoque.startPlayer(your-event-id);
}
})
}
if (document.readyState !== 'loading') {
registerCTAOnClickListener();
} else {
registerCTAOnClickListener();
}
</script>
<button id="lmu-live-start">
Watch live!
</button>
You should create a web page in order to inform your users you have a live or a replay thanks to HTML integration.