2013-11-20 40 views
1

我使用Amazon CloudFront的主辦MP4視頻iOS上的工作。我必須使用JWplayer(6.7)來傳輸內容。它在使用Flash的桌面瀏覽器上都能正常工作,但在iOS設備上不起作用(視頻URL僅在2分鐘內有效,但工作正常。)。如何獲得亞馬遜託管的RTMP流使用jwplayer

這是我建立呼叫。我究竟做錯了什麼?

jwplayer('video').setup({ 
    image: '/path/to/some/image.png', 
    file: 'rtmp://s3e5mnr1tue3qm.cloudfront.net/cfx/st/2012_01_28_Hertha_HSV_Interview…e9roPYjl7bszSh~pGqvPAwPaZwJXZAizZVCwjCQ__&Key-Pair-Id=APKAIAS7DDQFOAHAHOTQ', 
    primary: 'flash', 
    flashplayer: '//d12q7hepqvd422.cloudfront.net/global/js/jwplayer6.7.4071/jwplayer.flash.swf?v=2', 
    html5player: '//d12q7hepqvd422.cloudfront.net/global/js/jwplayer6.7.4071/jwplayer.html5.js?v=2', 
    width: '940', 
    height: '403' 
}); 

這是基於jwplayer文檔在這裏找到:http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

回答