[Android] In media3-exoplayer:1.0.1, the advertisement is not paused

46 views
Skip to first unread message

jiyoon

unread,
Mar 27, 2024, 5:09:48 AM3/27/24
to Interactive Media Ads SDK

1. AdEventType.PAUSED occurs when selecting an ad, but the player does not stop.
2. Player stops when AdEventType.PAUSED occurs and { player?.playWhenReady = false. }
3. Selecting again causes AdEventType.RESUMED, but does not resume immediately because AdEventType.PAUSED occurs.
4. This is the same even if I set { player?.playWhenReady = true }
5. It will resume when I put the app in the background or click ad link.
(and always AdEventType.TAPPED does not occur)

I want to stop/resume when selecting an ad.
What should I do?

IMA SDK

unread,
Mar 27, 2024, 1:24:04 PM3/27/24
to jiyoo...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for reaching out to us.

I have investigated the android Google Sample code and the provided VAST URL, and it appears that the events are being called correctly. The sequence of events is as follows:

    1    Event: LOADED
    2    Event: CONTENT_PAUSE_REQUESTED
    3    Event: STARTED
    4    Event: FIRST_QUARTILE
    5    Event: MIDPOINT
    6    Event: THIRD_QUARTILE
    7    Event: COMPLETED
    8    Event: CONTENT_RESUME_REQUESTED

If the VAST contains any clickable items, the TAPPED event will also be called.

In relation to player-paused activity, I recommend using the CONTENT_PAUSE_REQUESTED and CONTENT_RESUME_REQUESTED events to pause and resume the player while working with video ads.

If issues still persist, kindly share your Sample Project with us including your VAST details, we will check and send the correct code snippet.

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=5004Q00002s0GsuQAE&entry.80707362=00228880

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:!00D1U01174p.!5004Q02s0Gsu:ref" (ADR-00228880)

Thanks,
 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages