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. 😛
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. 😛