Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

getting started w/ streaming

$
0
0
i have a Premium account w/ 1 uploaded video. i want to stream to iOS, Android and desktop browsers. the player is hosted @ JW. i can play a video on all platforms when i do this: jwplayer('vodplayer').setup({ file: '//content.jwplatform.com/videos/F2JXXX.mp4', image: '//content.jwplatform.com/thumbs/F2JXXX.jpg' }); my understanding is that provides a progressive download for the single resolution i picked. what i want is to stream w/ adaptive bitrates. i have created a m3u8 file and hosted it on my own server. part of it looks like this: #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1217000,RESOLUTION=1280x720 https://content.jwplatform.com/videos/F2JXXX-8mHlxrXX.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=824000,RESOLUTION=896x504 https://content.jwplatform.com/videos/F2JXXX-t2iG4XXc.m3u8 my setup now looks like this: jwplayer('vodplayer').setup({ file: 'assets/manifests/video.m3u8', image: '//content.jwplatform.com/thumbs/F2JXXX.jpg', hlshtml: true }); When i play in desktop Safari, i get a live stream and am unable to jump around (seek?) as i could with the mp4. It does not play in desktop Chrome at all: "Cannot load M3U8: Invalid manifest file". if i grab one of the lines from the manifest file, e.g. https://content.jwplatform.com/videos/F2JXXX-8mHlxrXX.m3u8, it not only plays fine in desktop Chrome, but in both that and desktop Safari, it seeks as the mp4 did. What am i doing wrong?

Viewing all articles
Browse latest Browse all 2800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>