2
我目前有JW播放器設置,因此它的第一個選項是HTML5,回退是FLV,然後回退到下載。如何使用JW Player播放視頻?
只有HTML5路由似乎流式傳輸視頻,但我也需要它在Flash路由中傳輸視頻。
任何想法什麼額外的參數,我需要使用?
當前設置如下:
jwplayer('the_video_container').setup({
'id': 'playerID',
'width': '654',
'height': '410',
'file': '/video/keyword_vid_1.mp4',
'autostart': 'true',
'controlbar': 'none',
'screencolor': 'FFFFFF',
'repeat': 'always',
'modes': [
{type: 'html5'},
{type: 'flash', src: '/js/jwplayer/player.swf'},
{type: 'download'}
]
});
當你說'流'時,你是否真的指*流*或你的意思是'漸進式下載'? – daniel0mullins
@ daniel0mullins,通過「流」我的意思是用戶不必等待整個MP4下載視頻開始播放之前.. –
漸進式下載將爲你做,或者至少它應該如果你的視頻文件是正確暗示。你用什麼來編碼?我*認爲*你可能會讓你的設置變量出錯。我很確定''''''''''''''''''''''是'src'是'file'的替代版本。我想你想要的是設置'flashplayer'變量。 – daniel0mullins