Comments Bill Mitchell started the conversationMarch 25, 2021 at 6:10pmHi,I've seen and used the link to pause and to unmute media, but is there a link to restart and unmute media? 244Kreatura Support repliedMarch 26, 2021 at 7:44amHello,You should check our API in the documentation.There are a playMedia, pauseMedia and unmuteMedia method.https://layerslider.kreaturamedia.com/documentation/#advanced-customizationBest Regards,Andrea | Kreatura Support TeamBill Mitchell repliedMarch 26, 2021 at 1:48pmOk, 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? 244Kreatura Support repliedMarch 29, 2021 at 1:37pmHello Bill,Unfortunately, there is no smartlink that includes these two features.Best Regards,Andrea | Kreatura Support TeamBill Mitchell repliedMarch 29, 2021 at 4:00pmOk, thanks.Can we write some javascript and put it behind a button that will do this? 244Kreatura Support repliedMarch 30, 2021 at 12:16pmHello 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 Sign in to reply ...
Hi,
I've seen and used the link to pause and to unmute media, but is there a link to restart and unmute media?
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
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?
Hello Bill,
Unfortunately, there is no smartlink that includes these two features.
Best Regards,
Andrea | Kreatura Support Team
Ok, thanks.
Can we write some javascript and put it behind a button that will do this?
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