Okay
  Public Ticket #2732106
Is there a link to restart media?
Closed

Comments

  • Bill Mitchell started the conversation

    Hi,

    I've seen and used the link to pause and to unmute media, but is there a link to restart and unmute media?

  •  244
    Kreatura Support replied

    Hello,

    You should check our API in the documentation.
    There are a playMedia, pauseMedia and unmuteMedia method.
    https://layerslider.kreaturamedia.com/documentation/#advanced-customization

    Best Regards,
    Andrea | Kreatura Support Team

  • Bill Mitchell replied

    Ok, but there is no link to restart the media from the beginning?  That would be helpful.

    For instance, I have an embedded video which autoplays muted.  I want to add an unmute button that unmutes the video + restarts it at the beginning.

    Is this possible?

  •  244
    Kreatura Support replied

    Hello Bill,

    Unfortunately, there is no smartlink that includes these two features.

    Best Regards,
    Andrea | Kreatura Support Team

  • Bill Mitchell replied

    Ok, thanks.


    Can we write some javascript and put it behind a button that will do this?

  •  244
    Kreatura Support replied

    Hello Bill,

    You should add a specific class / ID to the button and write a javascript code for the button onclick event.

    Best Regards,
    Andrea | Kreatura Support Team