Comments (3)
this appears to be caused by the max-aspect-ratio
media query in src/components/UI.svelte
. removing this media query makes fullscreen work as expected.
from cityhop.cafe.
Hey folks! Sorry it took me so long to get around to this – the general approach taken for the videos on the site came from here, which is where the media queries come from. This is to ensure that the video will (almost always) take up the full dimensions of the browser. Without it, you would be much more subject to black bars around the videos. Open to suggestions on how to reliably fix it!
from cityhop.cafe.
Just fixed this issue via 617e088. Sort of hacky solution was to add a fullscreen
class to the element when it enters fullscreen and use a :not
selector to prevent the media queries from taking effect. Let me know if you run into any other issues!
from cityhop.cafe.
Related Issues (20)
- [Location Request] Plaza de Armas, Lima, Peru HOT 1
- [Location Request] Boise, Idaho, USA HOT 5
- [Location Request] Tsawwassen, BC, Canada HOT 1
- [Location Request] Casablanca, Morocco HOT 1
- [Location Request] Seattle, USA HOT 1
- [Location Request] Mumbai, India HOT 1
- [Location Request] Kolkata, India HOT 1
- Cologne, Germany HOT 1
- Feature Request: Permalink for Settings HOT 3
- [Location Request] İstanbul, Türkıye HOT 1
- [Location Request] Belgrade, Serbia HOT 1
- Search is broken HOT 1
- [Location Request] Cluj-Napoca, Romania 🇷🇴 HOT 1
- Valencia, Spain HOT 1
- Expand to full screen like other streaming video HOT 1
- Fuzzy searching does not capture country name
- [Location Request] Bengaluru, India HOT 2
- [Location Request] Mauritius, Mauritius
- [Location Request] Rio de Janeiro, Brazil HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cityhop.cafe.