I’m using the new Mediaelement.js in the WP 3.6.1 core to embed H.264 video.
Now I’d like to add a redirect after the video has played.
I know there’s this option (EventListener “played”) in Mediaelement but don’t know how to apply it.
I’ve done some research about the de-registration and re-registration of the .js-File but am stuck at this point.
Maybe someone can help me?
Thanks!
We did have the same problem. On our case the video started automatically. So we knew when the video ended. We therefore went over to do it like this:
In our case the video was 6 seconds long. Afterwards we redirect to /about-us. Maybe this solution would work in your case too. Even thou it is not the exact answer to your question.