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
i have a website and playing video feture
video is comming from cloudfare r2
our some user got issue like
The media could not be loaded, either because the server or network failed or because the format is not supported.
but same video other user can playing successfully without any issue
for those user they got the issue and resolved it, said to
good morning sir,
i got the solution for this, we have to changing DNS over HTTPS setting in browser and making it as google public DNS
its resolved the issue
my query is why and what is the actual issue and how to resolve, this is my code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i have a website and playing video feture
video is comming from cloudfare r2
our some user got issue like
The media could not be loaded, either because the server or network failed or because the format is not supported.
but same video other user can playing successfully without any issue
for those user they got the issue and resolved it, said to
good morning sir,
i got the solution for this, we have to changing DNS over HTTPS setting in browser and making it as google public DNS
its resolved the issue
my query is why and what is the actual issue and how to resolve, this is my code
const intializeVideoPlayer = (idSelector) => {
const player = videojs(idSelector, {
auto: true,
autoSetup: false,
controls: true,
preload: 'auto',
fluid: true,
controlBar: {
skipButtons: {
forward: 10,
backward: 10
},
},
enableSmoothSeeking: true,
playbackRates: [0.5, 1, 1.25, 1.5, 2],
preferFullWindow: true,
});
player.on('error', function() {
console.error('Video error:', player.error());
});
return player;
}
Beta Was this translation helpful? Give feedback.
All reactions