All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.js.revealjs.2.6.1.plugin.multiplex.client.js Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
(function() {
	var multiplex = Reveal.getConfig().multiplex;
	var socketId = multiplex.id;
	var socket = io.connect(multiplex.url);

	socket.on(multiplex.id, function(data) {
		// ignore data from sockets that aren't ours
		if (data.socketId !== socketId) { return; }
		if( window.location.host === 'localhost:1947' ) return;

		Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote');
	});
}());




© 2015 - 2024 Weber Informatics LLC | Privacy Policy