How do I use the iframe API for the WIREWAX player?

Listen for events on the page or add to bag using the WIREWAX iframe API

The IFrame player API lets you embed a WIREWAX video player on your website and control the player using JavaScript.

Using the API's JavaScript functions, play, pause, or stop those videos; adjust the player volume; or retrieve information about the video being played. You can also add event listeners that will execute in response to certain player events, such as a player state change or a hotspot click.

This guide explains how to use the IFrame API. It identifies the different types of events that the API can send and explains how to write event listeners to respond to those events. It also details the different JavaScript functions that you can call to control the video player as well as the player parameters you can use to further customize the player.

The WIREWAX player can be controlled by the page you embed your video on. This jsfiddle demo page shows you different ways you might want to customize the experience for your page visitors.

Here is another demo page showing you a straight forward implementation of an add to cart feature, perfect for shoppable video!

For the full WIREWAX iframe plugin script documentation, please follow this LINK.

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽