S
S
Simonwap2020-04-22 16:05:09
JavaScript
Simonwap, 2020-04-22 16:05:09

How to implement swipe on iframe video block in snap.js?

Hello everyone who is not indifferent to my question
, there is a snap.js library for implementing swipes https://github.com/jakiestfu/Snap.js everything works fine but there is one thing but swipe does not work on the iframe area video how to win who knows

Visual screenshot
5ea03ff2c5055414743232.jpeg

<div id="content" class="snap-content">
            <div id="toolbar">
                <a href="#" id="open-left"></a>
                <h1>Default</h1>
            </div>
      <iframe width="300" height="300" src="https://www.youtube.com/embed/9nrpwOYwRRc?list=PLyOI9pVmRKwMzTo4Mupfd94k-Wt0RrEOw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
        </div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question