VIDEO-Today's Tech Landscape - John C. Dvorak - NJVID - Digital Media Repository

Generate code

'+sub_desc+'

'; }); $("#explore_collection_list").html(rslt); if(window.collection_totalcount == 0){ $('#explorec').trigger('click'); } if(window.collection_start == 0){ $("#btn-up").addClass("disabled");}else{$("#btn-up").removeClass("disabled");} window.collection_start += parseInt( odata.number_of_objects ); window.collection_numberofobjects = parseInt( odata.number_of_objects ); window.collection_totalcount = odata.total_count; if(window.collection_start == window.collection_totalcount){ $("#btn-down").addClass("disabled"); } else{ $("#btn-down").removeClass("disabled"); } }function populate_myclips_list(json){var liheight = $("#explore_myclips_list").height();var liwidth = $("#explore_myclips_list").width();$("#explore_myclips_list").html("
  • ");api_post_callback(json, false, populate_myclips_list_callback);}function populate_myclips_list_callback(odata){//alert('ggg');var rslt = '';//alert(JSON.stringify(odata));if(odata.status == "error" || odata.total_count == 0){return false;}if(odata.total_count > 0){$("#exploremyclips").show();}if(odata.total_count 45){var sub_title_array = this.title.substr(0,45).split(' ').slice(0, -1);var sub_title = sub_title_array.join(' ')+" ...";}else{var sub_title = this.title;}if($.isEmptyObject(this.description)){var sub_desc = '';}else if(this.description.length > 65){var sub_desc_array = this.description.substr(0,65).split(' ').slice(0, -1);var sub_desc = sub_desc_array.join(' ')+" ...";}else{var sub_desc = this.description;}rslt += '
  • '+sub_desc+'

  • ';}); $("#explore_myclips_list").html(rslt);window.myclips_start += parseInt( odata.number_of_objects );window.myclips_numberofobjects = parseInt( odata.number_of_objects );window.myclips_totalcount = odata.total_count;if(window.myclips_start == window.myclips_totalcount){$("#myclips-btn-down").addClass("disabled");}else{$("#myclips-btn-down").removeClass("disabled");} }function populate_clips_list(json){var liheight = $("#explore_clips_list").height();var liwidth = $("#explore_clips_list").width();$("#explore_clips_list").html("
  • ");api_post_callback(json, false, populate_clips_list_callback);}function populate_clips_list_callback(odata){//alert('ggg');var rslt = '';//alert(JSON.stringify(odata));if(odata.status == "error" || odata.total_count == 0){return false;}//show tab only if total count of objets is greated that 0if(odata.total_count > 0){$("#exploreclips").show();}if(odata.total_count 45){var sub_title_array = this.title.substr(0,45).split(' ').slice(0, -1);var sub_title = sub_title_array.join(' ')+" ...";}else{var sub_title = this.title;}if($.isEmptyObject(this.description)){var sub_desc = '';}else if(this.description.length > 65){var sub_desc_array = this.description.substr(0,65).split(' ').slice(0, -1);var sub_desc = sub_desc_array.join(' ')+" ...";}else{var sub_desc = this.description;}//setting up special link for system@njedge.net to edit system annotationsvar edit_link = "";rslt += '
  • '+sub_desc+'

  • '; }); $("#explore_clips_list").html(rslt);if(window.clips_totalcount == 0){ //$('#exploreclips').trigger('click');}if(window.clips_start == 0){$("#clips-btn-up").addClass("disabled");}else{$("#clips-btn-up").removeClass("disabled");}window.clips_start += parseInt( odata.number_of_objects );window.clips_numberofobjects = parseInt( odata.number_of_objects );window.clips_totalcount = odata.total_count; if(window.clips_start == window.clips_totalcount){$("#clips-btn-down").addClass("disabled");}else{$("#clips-btn-down").removeClass("disabled");}}function seek(start, durationVal){if($f().isPlaying()){$f().seek(start);}else{$f().play();$f().seek(start);}}function highlight(id, start, end) {$('li[id^=\"annotation_\"]').css("background-color", "");$('#annotation_'+id).css("background-color", "#EBEBEB");seek(start,end);}
    https://merit.njvid.net/showvideo.php?pid=njcore:39833