' + '
' + '
' + '' + '
' + '
' + images + '
' + '
'+title+'
' +owner+stats+socialshare+ '
' + '' + '
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 10; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byTheo Walker<\/a><\/span><\/div>"; var stats = '
13 213065/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 16; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Calling Out Trump-Era Racism, Ice Cube Talks Police, Racial Justice And Anti-Semitism Allegations<\/a>"; var owner = "
<\/i>bySanMarco Lewis<\/a><\/span><\/div>"; var stats = '
12 012345/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 17; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>bylola dajarae<\/a><\/span><\/div>"; var stats = '
12 202345/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 34; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byjamar kelley<\/a><\/span><\/div>"; var stats = '
9 20100
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 37; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byTanisha Judah<\/a><\/span><\/div>"; var stats = '
9 00157
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 39; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Malcolm X - Interview At Berkeley (1963)<\/a>"; var owner = "
<\/i>bySanMarco Lewis<\/a><\/span><\/div>"; var stats = '
9 00162
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 40; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Black Lives Matter OFFICIAL MUSIC VIDEO<\/a>"; var owner = "
<\/i>byMike Williamson<\/a><\/span><\/div>"; var stats = '
9 00136
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 41; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "<\/a>"; var owner = "
<\/i>byJeffery Clemonts <\/a><\/span><\/div>"; var stats = '
8 0059
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 55; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byHughe Laundry<\/a><\/span><\/div>"; var stats = '
8 00145
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 57; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "My People Are Destroyed For The Lack Of Knowledge......1990<\/a>"; var owner = "
<\/i>byTeretha Muhammad<\/a><\/span><\/div>"; var stats = '
8 20147
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 58; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>bytommy belay<\/a><\/span><\/div>"; var stats = '
8 00122
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 61; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Top 5 Warrior African Queens<\/a>"; var owner = "
<\/i>byhonest truth <\/a><\/span><\/div>"; var stats = '
8 20142
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 62; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Ice Cube Just Let The Cat Out The Bag and He Means Business!!<\/a>"; var owner = "
<\/i>byTamara Jones<\/a><\/span><\/div>"; var stats = '
8 10137
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 63; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byMichael Masakilija <\/a><\/span><\/div>"; var stats = '
8 401205/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 66; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byAkinyemi bright <\/a><\/span><\/div>"; var stats = '
8 10156
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 87; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byWilliam Muhammad<\/a><\/span><\/div>"; var stats = '
7 001134/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 89; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "But what\u2019s in it for us?<\/a>"; var owner = "
<\/i>byAaron Davies<\/a><\/span><\/div>"; var stats = '
7 20191
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 90; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byshark Dickson<\/a><\/span><\/div>"; var stats = '
7 1087
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 94; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>bylola dajarae<\/a><\/span><\/div>"; var stats = '
7 20195
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 96; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "video<\/a>"; var owner = "
<\/i>byZee Gary<\/a><\/span><\/div>"; var stats = '
7 201105/5
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 98; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); var title = "Fof<\/a>"; var owner = "
<\/i>byLeRhon Kearse<\/a><\/span><\/div>"; var stats = '
7 20119
'; var socialshare = "
\r\n\r\n\r\n
' + '
' + '' + '
'; var marker = new RichMarker({ position: new google.maps.LatLng(0, 0), map: map, flat: true, draggable: false, scrollwheel: false, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); markers.push(marker); marker.markerid = 99; oms.addMarker(marker); marker.setMap(map); bounds.extend(marker.getPosition()); map.fitBounds(bounds); } var interval; var countMarker = 100; function DeleteMarkers() { //Loop through all the markers and remove for (var i = 0; i < markers.length; i++) { markers[i].setMap(null); } markers = []; markerData = []; }; var searchParams; var markerArrayData ; function callNewMarkersAjax(){ (new Request.HTML({ method: 'post', 'url': en4.core.baseUrl + "widget/index/mod/sesvideo/name/video-location", 'data': { format: 'html', is_ajax : 1, searchParams:searchParams, }, onSuccess: function(responseTree, responseElements, responseHTML, responseJavaScript) { if($('loadingimgsesvideo-wrapper')) sesJqueryObject('#submit').html('Search'); DeleteMarkers(); if(responseHTML){ markerArrayData = sesJqueryObject.parseJSON(responseHTML); if(markerArrayData.length) newMarkerLayout(); } } })).send(); } var markerData =[]; var previousIndex=0; function newMarkerLayout(){ if(!markerArrayData.length) return ; var bounds = new google.maps.LatLngBounds(); for(i=0;i
'; var owner = markerArrayData[i]['owner']; var stats = markerArrayData[i]['stats']; var socialshare = markerArrayData[i]['socialshare']; var marker_html = '
' + '' + '
' + '
' + '' + '
' + '
' + images + '
' + '
'+markerArrayData[i]['title']+'
' +owner+stats+socialshare+ '
' + '' + '
' + '
' + '' + '
'; markerData = new RichMarker({ position: new google.maps.LatLng(markerArrayData[i]['lat'], markerArrayData[i]['lng']), map: map, flat: true, draggable: false, scrollwheel: false, id:countMarker, anchor: RichMarkerPosition.BOTTOM, content: marker_html }); oms.addListener('click', function(marker) { var id = marker.markerid; sesJqueryObject('.wrapper').find('.large').find('.image').html(''); var iframeURL = sesJqueryObject('.marker_'+id).find('.iframe_url').html(); var height = 164; var width = 294; previousIndex = sesJqueryObject('.marker_'+ id).parent().parent().css('z-index'); sesJqueryObject('.marker_'+ id).parent().parent().css('z-index','9999'); if(typeof iframeURL != 'undefined' && !sesJqueryObject('.marker_'+id).find('.wrapper').find('.large').find('.image').find('iframe').attr('src')) sesJqueryObject('.marker_'+id).find('.wrapper').find('.large').find('.image').html('