• Resolved choazie

    (@choazie)


    Thank you again for one of the most wonderful and easy to use plugins I’ve ever used!

    One question. We don’t want the video to loop but we want to make it easy for users to replay the video. So I am trying to find a way to incorporate a large “replay” link/button, to appear after the video ends. Maybe this is something just as simple as an event script to make a div appear when video ends. I am wondering if you have any pointers on how to get started on this?

    Thank you so much Master Pupunzi for all these great plugins!

    https://wordpress.org/plugins/wpmbytplayer/

Viewing 1 replies (of 1 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Hi,
    You can do that adding some javascript to your wordpress theme.
    The YTPlayer trigger events for each player state (start, pause, end, buffering, cued) and you can add javascript actions for each event.
    You can find the documentation here:

    https://github.com/pupunzi/jquery.mb.YTPlayer/wiki

    There you’ll also find all the external methods to control the player.

    If you have javascript skills it should be quite easy to create a re-play button that is shown once the player reach the end.

    Bye,
    Matteo

Viewing 1 replies (of 1 total)
  • The topic ‘Display re-play button after video ends?’ is closed to new replies.