You can also view
You are viewing documentation for version 10. This is the most recent stable release!

Videowall JS Methods

You can control your <videowall> using our Javascript API. Below is a full list of the available methods.

How do I call methods on a Videowall instance?
Methods
loadPage
nextPage
previousPage

How do I call methods on a Videowall instance?

You can get your videowall's JS instance by accessing it in the CameraTag video_walls array once the camera has initialized:
CameraTag.observe(YOUR_WALL_ID, "initialized", function(){
myWall = CameraTag.video_walls["YOUR_WALL_ID"];
}) 
Note that YOUR_WALL_ID above should match the 'id' attribute of the <videowall> tag and not the 'data-app-id' attribute.

Once you have the instance calling methods is as simple as

myWall.nextPage();

loadPage( page_number )

Loads a page of assets (pagination starts at 1) from the server.

nextPage()

Loads the next page of assets from the server.

previousPage()

Loads the previous page of assets from the server.