Merge branch 'master' of https://git.vvvvvvaria.org/alicestrt/vvvw
This commit is contained in:
commit
ad1aee2aeb
3
static/js/d3_map.js
vendored
3
static/js/d3_map.js
vendored
@ -66,6 +66,9 @@ d3.json("/static/js/group1.json", function(error, json) {
|
|||||||
})
|
})
|
||||||
.on("click", function(i) {
|
.on("click", function(i) {
|
||||||
// popup video
|
// popup video
|
||||||
|
jQuery('.ui-widget-overlay').bind('click',function(){
|
||||||
|
jQuery('#showvideo').dialog('close');
|
||||||
|
});
|
||||||
if (i.url) {
|
if (i.url) {
|
||||||
divVideo.transition().duration(100);
|
divVideo.transition().duration(100);
|
||||||
divVideo.html("<div id='showvideo'><span onclick=this.parentElement.style.display='none';pauseAllVideos(" + i.id + "); class='topleft'> × </span><iframe id='video" + i.id + "' width='300' height='150' src='" + i.url + "' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>");
|
divVideo.html("<div id='showvideo'><span onclick=this.parentElement.style.display='none';pauseAllVideos(" + i.id + "); class='topleft'> × </span><iframe id='video" + i.id + "' width='300' height='150' src='" + i.url + "' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>");
|
||||||
|
Loading…
Reference in New Issue
Block a user