const videoId = lastPart.indexOf('?') === -1 ? lastPart : lastPart.split('?')[ 0 ]
const iframe = document.createElement('iframe')
- iframe.src = `/videos/embed/${videoId}?autoplay=1&controls=0&api=1`
+ iframe.src = `/videos/embed/${videoId}?api=1`
const mainElement = document.querySelector('#host')
mainElement.appendChild(iframe)