Answer the question
In order to leave comments, you need to log in
How to stop loading video when ajax navigate to another page?
Hello. There is video hosting on rails with turbolinks, i.e. page transitions are done with ajax and history.pushState. Videojs is used as the video player. The user opens a page with a video, starts watching, and then goes to another page. The problem is that the browser does not stop loading the past video. How can this be cured without disabling turbolinks?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question