# Maintain scrolling with iframe code widgets

**URL:** <https://forum.readymag.com/t/maintain-scrolling-with-iframe-code-widgets/5465>\
**Category:** Custom code\
**Created:** [September 3, 2025, 1:08pm UTC](https://forum.readymag.com/t/maintain-scrolling-with-iframe-code-widgets/5465 "2025-09-03T13:08:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfie](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.readymag.com/alfie/32/3568_2.png) [@alfie](https://forum.readymag.com/u/alfie)\
**Post date:** [September 3, 2025, 1:08pm UTC](https://forum.readymag.com/t/maintain-scrolling-with-iframe-code-widgets/5465/1 "2025-09-03T13:08:30Z")

</div>

Hey! So I have a project within which I use OneLinePlayer to embed my videos to the page. The OneLinePlayer code uses iframes. Readymag support has told me that this prevents being able to scroll the page when the mouse is hovering over them.

Is there any addition to the code that could allow scrolling? Readymag support has suggested maybe _pointer-events: none_ or layering techniques?

TIA!

---

<div class="post-metadata">

**Author:** ![alfie](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.readymag.com/alfie/32/3568_2.png) [@alfie](https://forum.readymag.com/u/alfie)\
**Post date:** [September 24, 2025, 8:19pm UTC](https://forum.readymag.com/t/maintain-scrolling-with-iframe-code-widgets/5465/2 "2025-09-24T20:19:21Z")

</div>

I ended up using html code for the whole video. See here for a copy paste: [HTML code for videoplayer](https://forum.readymag.com/t/html-code-for-videoplayer/5545)
