Can't scroll page when touching video element while playing vast

727 views
Skip to first unread message

Avi Engelshtein

unread,
Mar 10, 2016, 9:23:41 AM3/10/16
to Interactive Media Ads SDK


When debugging on chrome I get the following exceptions:

"Uncaught TypeError: document.createTouch is not a function"
"Uncaught TypeError: Cannot read property 'apply' of undefined"

see screen shot in github:

Which probably prevents the touchmove event

In vPaid it does not happen (probably different code flow)

Vu Chau (IMA SDK Team)

unread,
Mar 10, 2016, 11:30:21 AM3/10/16
to Interactive Media Ads SDK
Hi Avi,

Do you have a page where we can see the issue live? Also, are you seeing the issue on desktop or the mobile web?

Vu Chau
IMA SDK Team

Avi Engelshtein

unread,
Mar 13, 2016, 8:45:29 AM3/13/16
to Interactive Media Ads SDK
I mean mobile web of course, no touch events on desktop
You can try these samples:
https://googleads.github.io/videojs-ima/examples/advanced/

Try it on any mobile device and debug the device with USB you will see the error on the console once touching the screen , trying to slide down while the video is playing

Vu Chau (IMA SDK Team)

unread,
Mar 14, 2016, 3:04:59 PM3/14/16
to Interactive Media Ads SDK
Hi Avi,

While the Advanced sample is holding off on ad playback, the "iPhone" sample works fine for me and didn't throw any touch event-related warnings.  I'm going to speak with the rest of the team about possibilities of updating the IMA plugin for VideoJS to handle the upcoming touch functionality.

Thanks,

Vu Chau
IMA SDK Team

Avi Engelshtein

unread,
Mar 15, 2016, 4:12:43 AM3/15/16
to Interactive Media Ads SDK
Thank you

Denis Vilar

unread,
Feb 21, 2017, 10:43:05 AM2/21/17
to Interactive Media Ads SDK
Hello,

I just ran into the same issue, both on the "advanced" and "iPhone" versions. It triggers "Uncaught TypeError: Cannot read property 'apply' of undefined". Reproduced both iphone and android.

Do you have any update on a fix?
the problem comes from inside the imasdk.googleapis.com iframe so there's not much we can do.

The only workaround I can think of is adding an overlay above the ad, which is messy ..

Deepika Uragayala (IMA SDK Team)

unread,
Feb 21, 2017, 2:01:36 PM2/21/17
to Interactive Media Ads SDK
Hello Denis,

Thank you for writing this to us. We're already aware of, and working on, the "Uncaught TypeError" issue. You don't need to worry about this if it isn't effecting your ad playback

Let me know if have any other questions.

Regards,
Deepika Uragayala
IMA SDK Team

Rahul Singh

unread,
Jun 5, 2017, 4:42:49 AM6/5/17
to Interactive Media Ads SDK
Any update on this..i have multiple players on same page.when ad runs no scrolling works.

Deepika Uragayala (IMA SDK Team)

unread,
Jun 5, 2017, 12:16:53 PM6/5/17
to Interactive Media Ads SDK
Hi Rahul,

The team has determined that the issue is not caused by the SDK. Also, were you able to reproduce the issue with our SDK or was it a third party framework? We would not be able to provide support if it is not because of our SDK.

Regards,
Deepika Uragayala
IMA SDK Team

rahul...@vuclip.com

unread,
Jun 5, 2017, 12:59:09 PM6/5/17
to Interactive Media Ads SDK
i am using google ima3 and videojs-ima.

On Monday, June 5, 2017 at 9:46:53 PM UTC+5:30, Deepika Uragayala (IMA SDK Team) wrote:
Hi Rahul,.

Deepika Uragayala (IMA SDK Team)

unread,
Jun 5, 2017, 3:23:15 PM6/5/17
to Interactive Media Ads SDK
Hi Rahul,

The SDK absorbs scroll touch events when the ad is being played to keep the view in focus


Regards,
Deepika Uragayala
IMA SDK Team

rahul...@vuclip.com

unread,
Jun 6, 2017, 4:37:12 AM6/6/17
to Interactive Media Ads SDK
ok...cant this be resolved?

Deepika Uragayala (IMA SDK Team)

unread,
Jun 6, 2017, 2:17:23 PM6/6/17
to Interactive Media Ads SDK
Hi Rahul,

We currently don't have any plans to make any changes with respect to the SDK absorbing scroll touch events as it is working as intended.

Regards,
Deepika Uragayala
IMA SDK Team

Vikash Kumar Sinha

unread,
Nov 6, 2020, 12:23:08 PM11/6/20
to Interactive Media Ads SDK
Hi all,

is scrolling issue resolved now. I am not able to scroll the adsView.

IMA SDK

unread,
Nov 6, 2020, 1:31:34 PM11/6/20
to ima...@googlegroups.com
Hi Vikash,
 

The behavior in which the page is not scrollable when pressing the video player while the ad is playing is an intended behavior, and this is something that would be fixed on your own implementation. One workaround is that by adding an event listener on the container element passed to the AdDisplayContainer for “touchmove” events to trigger the scroll on your page.


Let me know if this works for you.

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 


ref:_00D1U1174p._5004Q277lGk:ref
Reply all
Reply to author
Forward
0 new messages