Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: tvOS can play video when ads are running, also ads are not getting the correct UI #4118

Open
tenet-angelstrizioli opened this issue Aug 28, 2024 · 5 comments
Labels
Accepted Issue is confirmed and accepted by maintainers team bug Platform: iOS Repro Provided Waiting for Review

Comments

@tenet-angelstrizioli
Copy link

tenet-angelstrizioli commented Aug 28, 2024

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

video: {
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,

},

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

Screenshot 2024-08-28 at 13 44 57

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.

Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

@github-actions github-actions bot added Platform: iOS Missing info Some information from template are missing Repro Provided labels Aug 28, 2024
Copy link

Thank you for your bug report. We will review it and get back to you if we need more information.

@KrzysztofMoch KrzysztofMoch removed the Missing info Some information from template are missing label Aug 28, 2024
@tenet-angelstrizioli
Copy link
Author

Hi! any update on this?

Copy link

github-actions bot commented Oct 5, 2024

This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.

@github-actions github-actions bot added the stale Closed due to inactivity or lack or resources label Oct 5, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@freeboub freeboub added Accepted Issue is confirmed and accepted by maintainers team and removed stale Closed due to inactivity or lack or resources labels Oct 19, 2024
@freeboub freeboub reopened this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue is confirmed and accepted by maintainers team bug Platform: iOS Repro Provided Waiting for Review
Projects
None yet
Development

No branches or pull requests

3 participants