AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

Locomote not working correctly with the last update of Chrome (51) #179

Closed gaetancollaud closed 8 years ago

gaetancollaud commented 8 years ago

Hi,

We have a huge issue since today ! We cannot have multiple players on the same page since the last update of chrome.

See this video of our application to see the bug in action. The flash objects are still here but it seems like the render of the video stoped. This not related to the material acceleration (already tried)

We have already seen this behaviour on Safari two weeks ago without finding a solution. I suspect this is an issue with flash player and webkit but not sure.

Did you have the same issue ? Did you find a workaround yet ? I will post my update in this thread.

We found this issue on:

EDIT 1 : In AVHS, we can still play multiple streams but you use flowplayer and not locomote (at least for the version we have installed at our office)

gaetancollaud commented 8 years ago

I found the issue ! I had this is my code:

$('.locomote-player').append('<div class="noFlashInstalled">My flash message</div>');

Apparently, when you do that, flash is re-rendered. I received two times the apiReady event even if the flash was never removed from the DOM. Locomote stopped to play but did not thrown the event streamStopped (I had to check using streamStatus()) Hope It would help someone in the future.