after calling player.dispose() videojs.ima crashes

94 views
Skip to first unread message

Damjan Oslaj

unread,
Aug 17, 2023, 10:59:57 AM8/17/23
to Interactive Media Ads SDK
Were there any updates to html5 ima sdk today or yesterday? 

I am assuming issue is in ima3.js since I didnt not deploy any changes since last week tuesday. I have not updated videojs-ima in the last month and today randomly I got this error: 

After I try to fetch for ads I call player.dispose(); (this function removes html player element from the page) if none of the demand has ads
After that videojs.ima crahes and goes into infinite loop throwing these 2 errors:

image

Best regards,

Damjan

IMA SDK

unread,
Aug 17, 2023, 3:39:41 PM8/17/23
to ima...@googlegroups.com

Hi,

Thank you for reaching out to us.

Upon checking in our release notes (https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/history), there is no updates made yesterday and today. Since you're encountering an error in your end, for us to further investigate it, it would be best if you can replicate the issue on our sample apps (https://github.com/googleads/googleads-ima-html5) or VSI (https://googleads.github.io/googleads-ima-html5/vsi/) and share to us the screen recording of the behavior for better illustration of the issue and if there are any specific steps we need to take to reproduce the same behavior. Also, please specify the SDK version and device details you used for testing.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002ntRFMQA2&entry.80707362=00194127

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

This message is in relation to case "ref:_00D1U1174p._5004Q2ntRFM:ref"

Thanks,
 
Google Logo IMA SDK Team


Damjan Oslaj

unread,
Aug 18, 2023, 5:05:56 AM8/18/23
to Interactive Media Ads SDK
Hi,

thank you for your response, I will try to prepare some test env.

Just wanted to add 1 thing:

It happens only on chrome v116!

It works on chrome (v115, v114), safari, edge, firefox.

before this happens I get this readyforpostroll warning in console (ONLY CHROME v116) and play() promise fails 4 times (player is muted)
videojsima-warning.PNG

IMA SDK

unread,
Aug 18, 2023, 7:42:40 AM8/18/23
to ima...@googlegroups.com
Hello,

Thank you for updating us. We'll be waiting for the test env. 
Reply all
Reply to author
Forward
0 new messages