Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Open live stream for a single rendering.


Method summary
​WizeyeVideoPlayer.open(deviceName, wizeyeUrl, objectName, accessToken)


ParametersDescription

deviceName

Device name

wizeyeUrl

URL

objectName

Camera object name

accessToken

Access token of camera


example
// Dynamically render a single video
document.addEventListener('DOMContentLoaded', 
	function() { 
		mp1 = new N3N.WizeyeVideoPlayer(); 
		mp1.open("video", "http://cdp.w20.n3n.io",
		         "cam1", "1504878079591:607602");
});

Remarks

To make the media player full screen, change the attached div to full screen.

  • No labels