Skip to content

Commit

Permalink
fix: allow Dash ABR on Safari (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi authored Feb 1, 2024
1 parent b528484 commit cbf80f4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/plugins/cloudinary/models/video-source/video-source.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import videojs from 'video.js';
import { sliceAndUnsetProperties } from 'utils/slicing';
import { assign } from 'utils/assign';
import { objectToQuerystring } from 'utils/querystring';
Expand Down Expand Up @@ -241,12 +240,7 @@ class VideoSource extends BaseSource {
};
});

if (videojs.browser.IS_ANY_SAFARI) {
// filter out dash on safari
return srcs.filter(s => s.type.indexOf('application/dash+xml') === -1);
} else {
return srcs;
}
return srcs;
}

generateRawSource(url, type) {
Expand Down

0 comments on commit cbf80f4

Please sign in to comment.