使用html5视频播放器播放视频后重定向页面 [英] redirecting the page after a video plays using an html5 video player

查看:157
本文介绍了使用html5视频播放器播放视频后重定向页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作一个视频卷轴(一个投资组合)网站,使用WordPress作为我的后端,以及 videojs html5视频播放器每个视频在不同的帖子中。我希望视频能够连续播放,以便在一个视频完成后重定向到下一篇文章。

I am making a video reel (a portfolio) website, using wordpress as my backend, and the videojs html5 video player with each video in a different post. I want the videos to play successively, so that when one video finishes it redirects to the "next post".

我无法查看是否有任何DOM调用视频播放后发生火灾。基本上我想在视频播放后立即触发重定向。

I'm having trouble seeing if there are any DOM calls that fire after the video plays. Basically I want to fire the redirect as soon as the video plays.

有人能指出我的方向吗?

Can someone point me in the right direction?

谢谢!

推荐答案

它看起来像是已结束的活动,您可以联系。

It looks like there is an ended event that you can hook up to.

这篇关于使用html5视频播放器播放视频后重定向页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆