0
我正在我的個人網站上工作。 我的網站包含一個youtube iframe。將鼠標懸停時,文檔將停止滾動。即使鼠標懸停在YouTube視頻上,我也希望主文檔繼續滾動。通過Youtube Iframe滾動禁用
<div class="video-container"><iframe width="950" height="480" style="margin-top: 10px" src="https://www.youtube.com/embed/fL3QKagSn1s#t=0m00s" scrolling="no" frameborder="0" allowfullscreen/></iframe></div>
</div>
還有同樣的問題,並解決了[Vimeo iFrame在Firefox上盜取鼠標滾輪事件](https://stackoverflow.com/questions/31418920/vimeo-iframe-stealing-mouse-wheel-event-on-firefox) – Ashwel
可能[Vimeo iFrame在Firefox上盜取鼠標滾輪事件]的副本(https://stackoverflow.com/questions/31418920/vimeo-iframe-stealing-mouse-wheel-event-on-firefox) – SourceOverflow