question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android - HLS video - Once reproduced, video freezes.

See original GitHub issue

Latest version of this plugin. Cordova Android 5.1.1. Samsung S6 Edge Plus, Samsung S4, Samsung S3, Motorola Moto X.

It seems that on Android (I tested it on multiple device), once the video is fully played one time, it completely freezes. It could not be played again (neither clicking on play button or moving the video time slider control) and video time is frozen at 0.00.

What is expected is that we could play agin the video, video time slider controll is still working and video time goes to the actual length of the video (or the actual time of the video playing).

Here is the code affected. Simply tring to reproduce a HLS video, serving it from amazon s3.

document.addEventListener("deviceready", function() { var options = { successCallback: function() { console.log("Video was closed without error."); }, errorCallback: function(errMsg) { console.log("Error! " + errMsg); }, orientation: 'portrait' }; window.plugins.streamingMedia.playVideo('https:/example/example/example.m3u8', options); }, false);

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
fdambrosiocommented, Jul 11, 2017

How can I play HLS streaming on Android/iOS using Cordova/Ionic platform?

1reaction
shamilovtimcommented, Dec 19, 2018

There are other plugins (as well as native browser scripts like Videogular) which support HLS. It’s just not a feature this current plugin has

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google DAI HLS/TS video freeze in ad break caused ... - GitHub
(This is the CUE-IN). Nothing happens immediately after this, but the next ad break, 30 minutes or longer later, will start with frozen...
Read more >
M3u8 video kind of freezes CAF receiver, but if I use hls.js ...
When I load this video to chromecast using a CAF receiver, the receiver kind of freezes, ... I noticed you are reproducing through...
Read more >
HLS in VideoView freezes my Android app while seeking
I've built an Activity that when pressing on ImageView it opens up a new Activity via Intent and start playing an HLS video...
Read more >
[Nord 2] Video freezes in Chrome, audio & captions continue
As landscape will use higher resolution stream, after a few seconds when the switch of stream is made the freeze occurs. Clicking the...
Read more >
HTTP Live Streaming | Apple Developer Forums
Send audio and video over HTTP from an ordinary web server for playback on Mac, iOS, ... 14 pro models crashes device when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found