Hi,
I have MEDIA column in my attribute table contains video URLs (YouTube iframe & HTML5 video tag).
By Clicking on feature on map popup display and play the video.
I would like to stop video play when I click on close button of esriPopup window (InfoWindow).
I know the hide event of infoWindow, but How do I stop play video on close of the InfoWindow
app.map.infoWindow.on('hide', function () {
var info = app.map.infoWindow.features[0].attributes.MEDIA;
});
Is there a way to stop video on close event of infoWindow ? Any idea please ?
Thanks,