bootsie123 / F1-Web-Viewer

A simple grid-based web viewer for Formula 1
https://f1webviewer.netlify.app
ISC License
168 stars 23 forks source link

[Request] Single Channel Selection without Drag and Drop #66

Closed anthonylavado closed 2 years ago

anthonylavado commented 2 years ago

Describe the bug It's a bit more of a platform limitation. If viewing the website on a console (Xbox One X with Chromium Edge), the browser does not support drag and drop events, even with a mouse connected. As a result, it's not possible to start playback.

Expected behavior/Feature Request If no streams are currently selected in the layout, a compromise would be to automatically add the first stream that is clicked on, without having to drag and drop it into the grid. If desired, this could be kept as an option like "Console" behind the Stream Type selector.

Desktop (please complete the following information):

F1TV Account (please complete the following information):

iebb commented 2 years ago

I have made a working example of adding a fullscreen button, which clears the layout and add the corresponding stream occupying the full grid in beta branch of my fork.

https://github.com/iebb/F1-Web-Viewer/tree/beta

image