[BUG]: tvOS can play video when ads are running, also ads are not getting the correct UI #4118
Labels
Accepted
Issue is confirmed and accepted by maintainers team
bug
Platform: iOS
Repro Provided
Waiting for Review
Version
6.4.5
What platforms are you having the problem on?
Apple tvOS
System Version
MacOS 14.6.1 (23G93)
On what device are you experiencing the issue?
Real device, Simulator
Architecture
New architecture with interop layer
What happened?
When opening a video that has ads the ads start playing with some delay, i would say 2s, and then i'm able to play/pause the background video so i get two audio tracks, the one from the ad and the one from the video causing bad user experience.
Also i can't see the ads UI like on the iPhone, for example how much ads are remaining or the time to end the ad that is playing currently and i'm not able to stop the ads, like i said if i try to play/stop the ad that its reproducing i'm doing play/stop on the video that its on background behind the ads.
Another thing that i'm not able to reproduce its the tvOS installation steps, with the newer versions of the library the link is automatic so when i try to search for the library manually i don't get the result (i will upload a screenshot of that).
Here is my video component code:
<Video
paused={isVideoPaused}
source={{
uri: element.url,
metadata: {
title: element.title,
description: element.description,
},
}}
controls={true}
adTagUrl={element.vast_url}
resizeMode="stretch"
poster={element.poster}
onLoad={handleLoad}
onEnd={handleEnd}
onError={handleError}
style={[styles.video, { backgroundColor: theme.primary }]}
playInBackground={false}
/>
And my video style is this
},
Here is a link to a video demo, the demo its too heavy to upload it here
https://drive.google.com/file/d/1DaIG2UVnC1NnpFQ1THn39UoV7eNWO_Nf/view?usp=sharing
Reproduction Link
repository link
Reproduction
Step to reproduce this bug are:
Install rn-video, create a video component with ads property and enabled, build for tvOS and play a video.
The text was updated successfully, but these errors were encountered: