2017-10-02 12 views
0

나는 JW 플레이어에 문제가 있고 그것은JWPlayer가 아이폰에서만 소리가 나지 않는 이유는 무엇입니까?

$.ajax({ 
    type: 'GET', 
    url: "{{url('xxxx')}}"+'/'+id, 
    dataType: 'json', 
    success: function (data) { 

     player.setup({ 
      "sharing": { 
       "sites": ["reddit","facebook","twitter"] 
      }, 

      autostart: true, 
      mute: false, 

      cast:{ }, 
      skin: { 
       name: "six" 
      }, 
      width:"100%", 
      aspectratio: "16:9", 

      playlist: [{ 
       tracks: data.subtitles, 
       image: data.image, 
       sources:data.sources 
      }], 
     }); 
    } 
}); 

player.on('ready', function(event){ 
    var toggle=$('.share-button'); 
    sharingPlugin = jwplayer().getPlugin('sharing'); 
    sharingPlugin.on('open',function(){ 
     toggle.attr('status','1'); 
    }); 

    sharingPlugin.on('close',function(){ 
     toggle.attr('status','0'); 
    }) 

}); 

jwplayer().on('ready',function(){jwplayer().setCurrentQuality(2)}); 
+0

확인하는 것이. – evolutionxbox

+0

예 아이폰에서 비디오를 재생할 때 소리가 들리지 않습니다 ... –

+0

문제가 있습니다. 플레이어가 아닌 비디오를 수정하십시오. – evolutionxbox

답변

0

브라우저는 미디어가 모바일에서 자동 재생하기 위해 음소거되는 선수를 필요로 iPhone에서만 모바일에서 아무 소리도 없다. 블로그 포스트는 여기에 더 자세히 이러한 요구 사항을 설명합니다 : 비디오 파일이 장치 _without_ JW 플레이어에서 제대로 재생

https://www.jwplayer.com/blog/mobile-web-autoplay/

관련 문제