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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ads while casting to Chromecast #47

Merged
merged 6 commits into from
Feb 2, 2024
Merged

Conversation

MattiasBuelens
Copy link
Collaborator

THEOplayer 6.8.0 added support for playing advertisements while connected to Chromecast. This PR makes Web UI aware of that.

This mostly already worked, except that the ad clickthrough button wasn't visible on desktop. We now always show that button if you're casting, regardless of whether you're on desktop or mobile. I tweaked the CSS of that button, so its height doesn't change when it switches from "skip in X seconds" to "skip".

I also added a fullscreen button to the ad UI, in case you would want to play your ads fullscreen. 馃槢

@MattiasBuelens MattiasBuelens merged commit bbc0fe6 into main Feb 2, 2024
1 check passed
@MattiasBuelens MattiasBuelens deleted the chromecast-ads branch February 2, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants