Update browserdeviceprofile.js

This commit is contained in:
Nyanmisaka
2020-01-28 01:55:02 +08:00
committed by GitHub
parent c60eff507b
commit 86484bc9b4
+2 -2
View File
@@ -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');