You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native player does this already: https://vimeo.com/339951368 (You need an HDR capable device and HDR mode enabled!)
If we knew, if the player is in HDR mode, we could show the user, that everything is working correctly.
Expected Behavior
The API provides a way to get the information, if the player is running in HDR mode.
Actual Behavior
There is no such way.
Steps to Reproduce
Some code for a fullscreen background video:
<head>
<style>
iframe {
box-sizing: border-box;
height: 56.25vw;
left: 50%;
min-height: 100%;
min-width: 100%;
transform: translate(-50%, -50%);
position: absolute;
top: 50%;
width: 188.88888889vh;
}
</style>
</head>
<body>
<iframe src="https://player.vimeo.com/video/339951368?background=1&quality=auto" width="170" height="90" frameborder="0" allow="autoplay; fullscreen;" allowfullscreen></iframe>
<script src="https://player.vimeo.com/api/player.js"></script>
<script>
var iframe = document.querySelector('iframe');
var player = new Vimeo.Player(iframe);
document.getElementById("start").onclick = function () { // start is an element above the video
player.play();
};
</script>
</body>
The native player does this already: https://vimeo.com/339951368 (You need an HDR capable device and HDR mode enabled!)
If we knew, if the player is in HDR mode, we could show the user, that everything is working correctly.
Expected Behavior
The API provides a way to get the information, if the player is running in HDR mode.
Actual Behavior
There is no such way.
Steps to Reproduce
My personal project: unaufgeregtes.de
The text was updated successfully, but these errors were encountered: