Skip to content

Advert Preroll on iOS crashes. #616

@praznovskymartin

Description

@praznovskymartin

Hi,
I have a specific case where I put preroll advertisements through ima sdk before my youtube videos.
Everything works fine except the iOS environment where it breaks on the following error:

ima3.js:551 Uncaught TypeError: Cannot read properties of undefined (reading 'length')

The sample code is directly from google-ima with the youtube 3.0.1 integrated as here. You can take it from there and see it working, except on iOS (emulation is enough).

I'm reaching out to you as there is only an issue with the youtube-tech.
Please advise.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions