diff --git a/src/scripts/browserdeviceprofile.js b/src/scripts/browserdeviceprofile.js index db079b759..9d91a691d 100644 --- a/src/scripts/browserdeviceprofile.js +++ b/src/scripts/browserdeviceprofile.js @@ -253,7 +253,7 @@ define(['browser'], function (browser) { case 'ts': supported = testCanPlayTs(); videoCodecs.push('h264'); - if (canPlayH265(videoTestElement)) { + if (canPlayH265(videoTestElement, options)) { videoCodecs.push('h265'); videoCodecs.push('hevc'); } @@ -477,7 +477,7 @@ define(['browser'], function (browser) { hlsVideoCodecs.push('h264'); } - if (canPlayH265(videoTestElement)) { + if (canPlayH265(videoTestElement, options)) { mp4VideoCodecs.push('h265'); mp4VideoCodecs.push('hevc');