We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2f0b7 commit 9cb213cCopy full SHA for 9cb213c
src/utils/cloudinary.js
@@ -46,7 +46,7 @@ const setVideoSrc = (that, srcs) => {
46
const handleCldError = (that, options) => {
47
const srcs = that.videojs.cloudinary.getCurrentSources();
48
const opts = options.fetchErrorUsingGet ? ERROR_WITH_GET_REQUEST : GET_ERROR_DEFAULT_REQUEST;
49
- opts.credentials = options.withCredentials ? 'include' : 'omit';
+ opts.credentials = options.sourceOptions.withCredentials ? 'include' : 'omit';
50
51
if (srcs.length > 0) {
52
Promise.all(srcs.map((s) => fetch(s.src, opts))).then((res) => {
0 commit comments