Skip to content

Commit

Permalink
fix(FEC-7131): fix HLS playback on iOS (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenMe authored Sep 17, 2017
1 parent f0cb957 commit b635184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function addKalturaPoster(metadata: Object, width: number, height: number): void
* @returns {void}
*/
function checkNativeHlsSupport(playerConfig: Object): void {
if (Env.browser.name === "Safari") {
if (Env.browser.name.includes("Safari")) {
let preferNativeHlsValue = Utils.Object.getPropertyPath(playerConfig, 'playback.preferNative.hls');
if (typeof preferNativeHlsValue !== 'boolean') {
Utils.Object.mergeDeep(playerConfig, {
Expand Down

0 comments on commit b635184

Please sign in to comment.