video - load movie trailer in android application from imdb -


is somehow possible, can load movie trailers imdb videoview or native android player.

so far, i've tried. iframe approach let me load trailer in webview, don't want. here found link direct link stream.

i want play in video view or native android control. in advance.

the link have above not direct link video - link web page contains embedded player, in turn has link actual trailer video itself.

you can see link video if use network timeline tab in browser inspector @ network requests. example above client (the browser running html5 page have downloaded) requesting video m3u8 file following request:

http://imdb-video.media-imdb.com/vi1225109529/1421100405014-mxwp62-1434643350557.m3u8 

this 'index' file hls format video file - tells client request video streams. client downloads video chunk chunk can see requests ts segments - e.g. example above:

http://imdb-video.media-imdb.com/vi1225109529/1421100405014-mxwp62-143464335055700002.ts 

if imdb site not protect or restrict video in way (for example allowing play embedded web page) in theory android should able play hls file if point media player towards m3u8 file. in practice android has know issues hls playback may find problematic - see summary: http://www.jwplayer.com/blog/the-pain-of-live-streaming-on-android/


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -