I can implement a short and simple javascript code that executes at the end of the video so that it returns to the previous page when the video ends.
I have been a website developer for more than 7 years, working for a private company making and maintaining administrative website and developer tools. I work with websites built with PHP, MySQL, Javascript, Wordpress, Laravel and more.
Please feel free to send me a message so we can discuss further details. Thanks.