I\'m have the problem that video doesn\'t work in Safari, but works perfectly fine with Chrome and Firefox.
If you haven’t solved the problem yet then go to your phone setting then choose safari and tap Clear History and Website Data, that worked for me the problem wasn’t the code but safari itself.