so that when user clicks on a layer name the georeferenced video loads like normal layer and starts playing .
Solved! Go to Solution.
Found out the this can be done using MapImageLayer ,,, Just convert the video into a gif and give its url in a MapImage Constructor... Sample code:
map.on("load", function() {
// create and add the layer
var mil = new esri.layers.MapImageLayer();
map.addLayer(mil);
// create an add the actual image
var mi = new esri.layers.MapImage({
'extent': { 'xmin': -80, 'ymin': 33, 'xmax': -85, 'ymax': 37},
'href': 'http://www.aoaophoto.com/video-to-gif-converter/imgs/sample-iceage4.gif'
});
mil.addImage(mi);
});
Found out the this can be done using MapImageLayer ,,, Just convert the video into a gif and give its url in a MapImage Constructor... Sample code:
map.on("load", function() {
// create and add the layer
var mil = new esri.layers.MapImageLayer();
map.addLayer(mil);
// create an add the actual image
var mi = new esri.layers.MapImage({
'extent': { 'xmin': -80, 'ymin': 33, 'xmax': -85, 'ymax': 37},
'href': 'http://www.aoaophoto.com/video-to-gif-converter/imgs/sample-iceage4.gif'
});
mil.addImage(mi);
});