Description
- play video (youtube, vimeo, mp4, uploaded video) on scroll into view
- view demo – password: abc (scroll to second section)
- buy me a coffee
#1. Install Code
#1.1. Hover on Page where you use Video > Click Gear icon

#1.2. Click Advanced > Paste this code
- If you use Personal/Basic Plan and your plan doesn’t support Injection, see #3.1
<!-- 08.26c21v4 Play Video on Scroll into View -->
<script>
window.PlayVideoOnScrollConfig = {
threshold: 0.5,
muted: true,
pauseOnLeave: true,
playOnce: false
};
</script>
<script src="https://code.beaverhero.com/video/0826c21v4playvideoscrollintoview.js"></script>

#2. Customize
nothing now
#3. Other
#3.1. If you use Personal/Basic Plan and your plan doesn’t support Injection, you can add a Markdown Block to current page.
![]()
Then add this code into Markdown Block
<script>
window.PlayVideoOnScrollConfig = {
threshold: 0.5,
muted: true,
pauseOnLeave: true,
playOnce: false
};
</script>
<script src="https://code.beaverhero.com/video/0826c21v4playvideoscrollintoview.js"></script>
