20) ? true : false" >
Go back home
Trainers
Clients
Location
Login
Go back home
Trainers
Clients
Location
Login
You are a
Trainer
I'm a Trainer
or
You are a
Client
I'm a Client
{ var videoPlayer = new window.Plyr($refs.videoPlayer, { fullscreen: { enabled: true, iosNative: true, } }); if (window.innerWidth < 768) { // Safari mobile meeds this ready listener videoPlayer.on('ready', event => { showVideo = true; }) videoPlayer.on('playing', event => { videoPlayer.fullscreen.toggle() }) }; // This prevents a flash of unstyled player videoPlayer.on('canplay', event => { showVideo = true; }); setTimeout(() => { document.querySelector('[data-plyr]').focus(); window.trap = new window.FocusTrap.createFocusTrap($el).activate(); }, 600); }); " @video-modal-close.window="modal = 'false'; showVideo = false; video = null; window.trap.deactivate();" x-show.transition.in.duration.600ms="showVideo" >