• Resolved Benny Windolph

    (@fragbenny)


    Hey there, is there a handy way to stop a video from playing when the modal is closed? Would be a nice feature and would save me from using a video lightbox popup whatever plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Benny Windolph

    (@fragbenny)

    Maybe something like this –> https://codepen.io/marklchaves/pen/vYKwKzp

    Plugin Author merbmerb

    (@merbmerb)

    Hi

    Thanks for the request, given that I have no idea what is being displayed in the modal this can be somewhat tricky to do. Having said that in a future release I am planning on adding custom events, prob on the open and close. These events will allow custom code to be added, which could include closing a video when the modal is closed.

    I am currently testing the next release and am planning to add the event stuff in the release after that.

    Hope this helps.

    Thread Starter Benny Windolph

    (@fragbenny)

    Thanks for the reply. This isn’t helping me with a project im currently working at but it sounds good as im using your plugin quite often. So keep up the good work and im looking forward to the next releases!

    Is there a way to donate a few bugs to support your work?

    Plugin Author merbmerb

    (@merbmerb)

    Hi

    There is a donate link towards the bottom of the main plugin page (https://www.ads-software.com/plugins/modal-block/).

    Thanks for your support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stop Video when closed’ is closed to new replies.