CINXE.COM
McClatchy's Goldman Sachs probe
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=7084115","20130330134745","https://web.archive.org/","web","/_static/", "1364651265"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <title>McClatchy's Goldman Sachs probe</title> <!-- MCCB 1.2 Update jQuery --> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://videos.mcclatchydc.com/vmix_hosted_apps/js/jquery-1.2.3.js"></script> <script type="text/javascript"> var open=function(hash){ hash.w.show('6000', function(){ flash_player1.call('pause'); });}; var close=function(hash) { hash.w.fadeOut('6000',function(){ hash.o.remove(); flash_player1.call('play'); jQuery('#video_comments').css({"left":"700px", "width" : "300px"}); jQuery('#vcwidgets').text(''); jQuery('#table1').remove(); }); }; jQuery.noConflict(); jQuery().ready(function() { jQuery('#video_comments').jqm({ onShow: open, onHide: close}); }); </script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://videos.mcclatchydc.com/vmix_hosted_apps/p/jsloader?files[]=prototype.1.5.1.1.js&files[]=login.js&files[]=common.js&files[]=comment.js&files[]=rating.js&files[]=send_to_friend.js&files[]=cookies.js&files[]=swfobject.js&files[]=jqModal.js"></script> <!-- <script type="text/javascript" src="http://videos.mcclatchydc.com/vmix_hosted_apps/p/jsloader?files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.1%2Fbuild%2Fyahoo%2Fyahoo-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fdom%2Fdom-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fevent%2Fevent-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fconnection%2Fconnection-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fanimation%2Fanimation-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fcontainer%2Fcontainer-min.js&files[]=http%3A%2F%2Fyui.yahooapis.com%2F2.3.0%2Fbuild%2Fmenu%2Fmenu-min.js"></script> --> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/yahoo/yahoo-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/dom/dom-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/event/event-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/connection/connection-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/animation/animation-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/container/container-min.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://yui.yahooapis.com/2.3.0/build/menu/menu-min.js"></script> <link href="https://web.archive.org/web/20130330134745cs_/http://videos.mcclatchydc.com/vmix_hosted_apps/css/mcclatchy-b/base.css" rel="stylesheet" type="text/css"/> <link href="https://web.archive.org/web/20130330134745cs_/http://videos.mcclatchydc.com/vmix_hosted_apps/css/mcclatchy-b/menu.css" rel="stylesheet" type="text/css"/> <style> body { background:#000; } #wrapper { background:#000000; color:#ffffff; } .thumbnail:hover { background:none; color:#527AB9; } a:link, a:visited { color:#527AB9; } a:hover, a:active { color:#81aff8; } .comFormLabel { color:#ffffff; } body {background:#000} #videoTitle {width:240px} #commentsHeading {display:none} #comments {display:none} #upload_button {display:none} </style> </head> <body onload="gateway_init(); gb.browse('00007030', 'date', '1', 'Goldman Sachs');"> <div id="wrapper"> <div id="mistatstag" style="display:none;"> <!-- SiteCatalyst: McClatchy Vendor Stats Tag v.1.0 --> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://media.mcclatchydc.com/mistats/sites/mcd/mcclatchydc.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://media.mcclatchydc.com/mistats/vendors/vmix_s_code.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://media.mcclatchydc.com/mistats/vendors/vmix.js"></script> <script type="text/javascript" src="https://web.archive.org/web/20130330134745js_/http://media.mcclatchydc.com/mistats/finalizestats.js"></script> <!-- End SiteCatalyst: McClatchy Vendor Stats Tag v.1.0 --> </div> <div id="header"> <div id="logo"><div style=""><a href="https://web.archive.org/web/20130330134745/http://www.mcclatchydc.com/" target="_blank"><img src="https://web.archive.org/web/20130330134745im_/http://media.mcclatchydc.com/static/images/mcclatchy_logo.gif"></a></div></div> <div id="tabLinks"> <a href="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/grid?all=1&class_id=1">All Videos</a> </div> <div id="search"> <form action="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/grid" method="get" id="vmixHeaderSearchForm"> <input type="text" name="query" id="vmixHeaderSearchField"/> <input type="hidden" name="class_id" id="vmixHeaderSearchClassIdField" value="1"/> <input type="submit" id="vmixHeaderSearchButton" value="Search"/> </form> </div> <div id="upload_button"> <a href="#" onclick="check_upload_login('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/upload'); return false"><img src="https://web.archive.org/web/20130330134745im_/http://videos.mcclatchydc.com/vmix_hosted_apps/images/mcclatchy-b/upload_btn.jpg" border="0"/></a> </div> </div> <div id="content"> <script type="text/javascript"> <!-- var class_id = "1"; var current_page = 1; var initialRequest = '&sort='; var total_count = ''; var total_pages = ''; var initialQuery = false; var isplaying = '7084115'; var postRoll = ''; var postRollPlayed = false; var currsortcat = ''; var media_array = new Array; // what the user is currently viewing in the genre browser var playlist_array = new Array; // what list the user is currently playing through var curr_media_id = "7084115"; var curr_genre_id = "00007030"; var curr_genre_name = "Goldman Sachs"; var currsortvalue = ''; var adTarget = 'genre=Goldman+Sachs'; var adKeywordTarget = ''; var adFormat = 'genre=%%genre_name%%'; var indexed = '1'; var indexed_back = '1'; var itemindex = '0'; var initialindex = 'all'; var initial_load = 0; var requested_media_id = curr_media_id; // placeholder to track the video requested when we need to intercept with pre-roll ad var requested_media_token = "V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo"; var js_debug = 0; var vmixOriginalMedia = {"id":"7084115","partner_id":"45","title":"McClatchy's Goldman Sachs probe","description":"Greg Gordon talks to the Real News Network about McClatchy's five-month investigation of Wall Street colossus Goldman Sachs.","class_id":"1","status_id":"20","date_created":"2009-11-02 14:10:54","date_approved":"2009-11-02 14:17:34","last_modified":"2009-11-02 14:20:34","source_id":null,"groups":["2056"],"source_name":null,"author":"McClatchy","url":"https:\/\/web.archive.org\/web\/20130330134745\/http:\/\/media.vmixcore.com\/core\/45\/0\/5\/60981981\/428\/45\/933\/8e68af6f00e493a80db37df2e5532f61.flv","file_id":"60981981","thumbnail":[{"url":"https:\/\/web.archive.org\/web\/20130330134745\/http:\/\/cdn-aki.vmixcore.com\/45\/0\/26\/60971901\/428\/45\/933\/6e18b780500bb205d3ce71a94eb590d4.jpg","file_id":"60971901","format_id":"26","is_original":"0","class_id":"4","status_id":"20","duration":null,"filesize":"22431","width":"640","height":"360","is_default":1}],"formats":{"format":[{"format_id":"5","token":"V0mME8BSlALX1VG4vBLstwQtFbgbj-4seL","filesize":"59338558"},{"format_id":"42","token":"V0mME8BSlALX1VG4vBLstwQgSqlEqIMu_p","filesize":"37868693"},{"format_id":"124","token":"V0mME8BSlALX1VG4vBLstwQtfg98x94nlY","filesize":"26639150"}]},"user_id":"306926","username":"McClatchy","token":"V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo","partner_target_id":null,"date_published_start":"2009-11-02 14:10:54","date_published_end":null,"filesize":"59338558","duration":"571","mf_public":"0","mf_public_stats":"0","mf_language":"0","mf_sexual":"0","mf_violence":"0","mf_dialog":"0","mf_flag_lock":"0","mf_allow_download":"0","genres":[{"genre_id":"00007030","name":"Goldman Sachs","external_genre_id":null,"date_created":"2009-11-02 15:22:18"},{"genre_id":"00172121","name":"News","external_genre_id":null,"date_created":"2012-09-11 10:36:37"}],"metadata":[{"metadata_attribute_id":"102","value":"360","media_id":"7084115","name":"Original Height"},{"metadata_attribute_id":"103","value":"640","media_id":"7084115","name":"Original Width"}],"class_name":"video"}; var vmixCurrentMedia = vmixOriginalMedia; var url = ''; var console; var isTopRequest = ''; var totalPlays = getCookie('mediaPlays'); var ad_frequency = '3'; var ad_frequency_start = '1'; if(totalPlays) { setCookie('mediaPlays', ++totalPlays, '', '/',document.domain,''); var cookiesEnabled = true; } else { setCookie('mediaPlays', 1, '', '/',document.domain,''); var totalPlays = getCookie('mediaPlays'); var cookiesEnabled = (totalPlays)? true:false; } if(!cookiesEnabled) { ad_frequency = (ad_frequency >= 1)? 1 : 0; ad_frequency_start = 1; totalPlays = 1; } //Adset Object to keep track of ad related issues. var adObject = { values:[], default_persistent_ad:false, default_persistent_content:'', rotate_persistent_ad: false, rotate_ad_keywords: false, show_persistent_companion: false, playerPreroll:false, currentEngine:'', playerCompanion:false, load: function(content){ if(this.currentEngine == 'adaptv'){ if(jQuery('#companion_graphic iframe').css('height') != '250px'){ jQuery('#companion_graphic iframe').css({'height':'250px'}); } this.values['default_companion'] = jQuery('#companion_graphic').html(); }else{ for(i=0;i<content.length;i++) { this.values[content[i].name] = content[i].content; // exception for OVA response companion ad handling if (content[i].name == undefined){ this.values['default_companion'] = content[i].content; } } } }, call: function(){ if(this.values['default_companion']) onCompanion(this.values['default_companion'], this.currentEngine); if(this.values['default_companion2']) onCompanion2(this.values['default_companion2']); }, prepareAds: function() { if(showAds() === true){ var adService = flash_player1.call('getParameter','ad_service'); if(playerId){ if(adService == 'vmix'){ flash_player1.call('setParameter','ad_target',adTarget); flash_player1.call('setParameter','preroll_name',this.playerPreroll); flash_player1.call('setParameter','preroll_companion_names',this.playerCompanion + ',default_companion2'); }else{ if(!this.rotate_ad_keywords){ flash_player1.call('setParameter','ad_target',''); flash_player1.call('setParameter','preroll_name',''); flash_player1.call('setParameter','preroll_companion_names','',''); }else{ flash_player1.call('setParameter','ad_keywords','genre_id%3D' + adKeywordTarget); flash_player1.call('setParameter','ad_target',''); flash_player1.call('setParameter','preroll_name',''); flash_player1.call('setParameter','preroll_companion_names','',''); } } }else{ if(adService == 'vmix'){ flash_player1.call('setParameter','ad_target',adTarget); flash_player1.call('setParameter','preroll_name','default'); flash_player1.call('setParameter','preroll_companion_names','default_companion,default_companion2'); }else{ flash_player1.call('setParameter','ad_target',''); flash_player1.call('setParameter','preroll_name',''); flash_player1.call('setParameter','preroll_companion_names','',''); } } }else{ flash_player1.call('setParameter','preroll_name',''); } }, getPersistentAd: function (){ }, storPersistentAd: function (data){ eval('var response = '+data.responseText); adObject.default_persistent_content = response.default_persistent_ad; if(!adObject.show_persistent_companion) jQuery('#persistent_ad').html(adObject.default_persistent_content); } }; var templateObj = { adIsPlaying: false, enableBrowsing: function(){ jQuery('#thumbScrollerStatus').hide(); }, disableBrowsing: function(){ jQuery('#thumbScrollerStatus').show(); } } var vmix_timer = Class.create(); vmix_timer.prototype = { initialize: function(){ this.timers = new Array(); }, start: function(timer_name){ var current = new Date(); this.timers[timer_name] = current.valueOf(); }, end: function(timer_name){ var current = new Date(); return current.valueOf() - this.timers[timer_name]; } } var timer = new vmix_timer(); function setCookie( name, value, expires, path, domain, secure ) { var today = new Date(); today.setTime( today.getTime() ); if ( expires ) { expires = expires * 1000 * 60 * 30; } var expires_date = new Date( today.getTime() + (expires) ); document.cookie = name+"="+escape( value ) + ( ( expires ) ? ";expires="+expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function showAds() { return ((totalPlays - ad_frequency_start) % ad_frequency == 0 && totalPlays >= ad_frequency_start && ad_frequency >= 1) ? true : false ; } function show_comment_box() { $('comments').hide(); flash_player1.call('pause'); } function hide_comment_box() { $('add_comment').hide(); jQuery('.comFormField input').val(""); jQuery('.comFormField textarea').val(""); $('comments').show(); flash_player1.call('play'); jQuery('#persistent_ad').show(); } function vmixShowGrabALinkDialog() { $('vmixGrabALinkDialog').show(); flash_player1.call('pause'); } function vmixHideGrabALinkDialog() { $('vmixGrabALinkDialog').hide(); flash_player1.call('play'); } //MCCB 1.2- Video Comments Implementation function write_VC(data) { if(data.add_comment_login_required != 0) { var login_url = data.login_url; var redirect_var = data.redir_var_name; var redirect = 'http%3A%2F%2F' + 'videos.mcclatchydc.com'; redirect += '%2Fvmix_hosted_apps%2Fp%2Fmedia%3Fid%3D7084115'; login_url += redirect_var + '=' + redirect; var username = data.username; } else { var username = data.username; } var add_comment_login_required = data.add_comment_login_required; var playerURL = 'https://web.archive.org/web/20130330134745/http://cdn-akm.vmixcore.com' + '/core-flash/UnifiedVideoPlayer/UnifiedVideoPlayer.swf'; var captureURL = 'https://web.archive.org/web/20130330134745/http://cdn-akm.vmixcore.com' + '/core-flash/core_capture.swf'; var capture_dev_URL = 'capture.vmixcore.com'; var capture_server_URL = 'sdcap01.vmix.com'; var devURL = 'media.vmixcore.com'; var login_req = (username == undefined && add_comment_login_required == 1)? '0':'1'; var currentMediaID = isplaying; //MCCB 1.2 -Video Comments Widget var vcUrl = 'https://web.archive.org/web/20130330134745/http://cdn-akm.vmixcore.com' + '/core-flash/VideoCommentWidget/VideoCommentWidget.swf'; var vc = new SWFObject(vcUrl, "vc_swf", "300", "405", "9"); vc.addParam("allowScriptAccess", "always"); vc.addParam("quality", "high"); vc.addParam("FlashVars", 'target_type=media&target_id='+currentMediaID+'&genre_ids=3552&user_id='+username+'&domain='+window.location.href+'&api_url=http://api.vmixcore.com/apis/&auto_play=1&player_url='+playerURL+'&aToken=7f81ad4592a35f142aecbd2d5c920059&bypass_approval=0&background_color=0x000000&bar_hex_color=0x000000&bar_text_hex_color=0xFFFFFF&separator_bar_text=Video Comments&add_comments_title=Record a Comment&no_comments_title_thumb=Be the first to submit a video comment&no_comments_title_player=If you have a camera connected to your computer, submitting a video comment is easy. Simply click the \'Record a Comment\' below to get started.&show_record='+login_req+'&dev_url='+devURL+'/vmixcore&capture_dev_url='+capture_dev_URL+'&capture_server_url='+capture_server_URL+'&capture_url='+captureURL); //MCCB 1.2 write the video comments swf. vc.write("vcwidget"); var loginHTML = (username == undefined && add_comment_login_required == 1)? '<table width="300" id="table1"><tr><td align="left"><a href="'+login_url+'">Login</a> <font color="white">to record a video comment</font></td><td align="right"> <img class="jqmClose" src="/images/close_dialog.png" border="0" /></td></tr></table>':'<table id="table1" width="300"><tr><td align="left"><a href="#" onclick="camInstr();"><img src="/images/help.png" border="0" align="left"><span id="help_dialog">Camera Help?</span></a></td><td align="right"> <img class="jqmClose" src="/images/close_dialog.png" border="0" /></td></tr></table>'; jQuery('#vcNested').prepend(loginHTML); jQuery('#video_comments').jqmShow(); } function checkVideoCommentLogin() { check_vc_login(write_VC); } function camInstr() { var opened = (jQuery('#video_comments').css('left') == '400px')? true: false; if(opened) { jQuery('#video_comments').animate({"width": "-=300px"}, "slow"); jQuery('#video_comments').animate({"left": "+=300px"}, "slow"); jQuery('#table1').animate({"width": "-=300px"}, "slow"); jQuery('#help_dialog').text('Camera Help?'); } else { jQuery('#video_comments').animate({"left": "-=300px"}, "slow"); jQuery('#video_comments').animate({"width": "+=300px"}, "slow"); jQuery('#table1').css({"width": "600px"}); jQuery('#help_dialog').text('Close Help'); } } //MCCB 1.2- Persistant AD implementation, this little function simply shows/hides the full description //after it has been clipped to free up space for the persistant ad. function expand(status) { if(status) jQuery('#videoDescriptionExpanded').show(); else jQuery('#videoDescriptionExpanded').hide(); } //MCCB 1.2- Persistant AD implementation, called by player if persistant ad exists function onCompanion2(content) { //Pass persistant ad HTML content directly into the Persistant AD div Container, spice it up with some animation if(content.length > 10) { jQuery('#persistent_ad').html(content); adObject.show_persistent_companion = true; if(!adObject.default_persistent_ad){ jQuery('#persistent_ad').fadeIn("slow"); //save video description for processing whether it exceeds two lines worth of text var descStringExp = '<table width="100%"><tr><td align="left"><b>Full Description</b>:</td><td align="right"> <img src="/images/close_dialog.png" border="0" onclick="expand();"/></td></tr></table>'; var fulldescription = jQuery('#videoDescription').html(); descStringExp += fulldescription; //if video description is too long to fit in the alloted space, lets clip it and save the //original in another div container for use in presenting the full description div overlay. if(fulldescription.length > 85) { var descString = ''; descString = fulldescription.substr(0,85); jQuery('#videoDescriptionExpanded').html(descStringExp); descString = descString + '....<span id="expand"><b><a href="javascript:void(0);" onclick="expand(\'1\');"><font color="#527AB9">more</font></a></b></span>'; jQuery('#videoDescription').html(descString); } //after everything is all setup, lets shrink the space with a graceful animation making room for //the persistant ad. jQuery('#videoDescription').css('position', 'relative'); jQuery('#videoDescription').animate({"height": "-=72px"}, "slow"); } } } //MCCB 1.2- function for scrolling to the right or Next() function scrollNext() { //need to grab a bunch of stuff off the page to find out what we are doing exactly, as well //as set some conditions as far as what page we are on, how many results, and so on.... var genre_id = curr_genre_id; var sort = currsortvalue; var next_page = Number(current_page + 1); var prev_page = Number(current_page - 1); var class_id = 1; var pages = total_pages; var viewing = next_page * 9 - 9; var thru = Number(viewing + 9); var isall = (initialindex == 1)? 'all' : 0; var sort = (currsortcat)? currsortcat : sort; thru = (thru > total_count)? total_count: thru; if(current_page != pages) { var str=''; var start = viewing; viewing = viewing + 1; //emulate the genre browser behavior to get another batch of media ID's if someone really wants //to scroll and scroll and scroll..... url = url.replace(/start=\d*/, "start=" + start); jQuery.getJSON(url, function(response){ media_array = response.dataset; if (media_array) { jQuery('.thumbnail').removeClass('highlight'); for (i = 0; i < media_array.length; i++) { var media_item = media_array[i]; if (media_item.title && media_item.thumbnail_url) { var noQuotesTitle = new String(media_item.title); noQuotesTitle.replace('"', "'"); noQuotesTitle = noQuotesTitle.replace(/(<\w+)(\s*[^>]*)(>)/, ""); noQuotesTitle = noQuotesTitle.replace(/(<\/\w+>)/, ""); str += '<div id="mid_'+media_item.id+'" class="thumbnail"><a href="#" onclick="play(' + media_item.id + '); return false;" title="' + noQuotesTitle + '"><img src="https://web.archive.org/web/20130330134745/http://cdn-aki.vmixcore.com/imgman.jpg?url=' + media_item.thumbnail_url + '&width=92&height=67&fill=000000000" alt="' + noQuotesTitle + '" border="0" width="92"/></a><div class="thumbnailTitle"><a href="#" onclick="play(' + media_item.id + '); return false;" id="thumbTitleLink">' + noQuotesTitle + '</a></div></div>'; } } jQuery('#genre_browser').html(str); jQuery('#mid_'+isplaying).addClass('highlight'); } //replace the results current_page = current_page + 1; //lets keep track of the pages we are on and give it a nice little fade.... jQuery('#bc').fadeTo(300, 0.33, function(){ jQuery('#bc').text(viewing + "-" + thru); }); jQuery('#bc').fadeTo(300, 1.0); changeArrows(); }); } } //MCCB 1.2- function for scrolling to the left or Back() function scrollBack() { //Bascially need the same batch of stuff as the next scroller needed, minus the need to append stuff var genre_id = curr_genre_id; var sort = currsortvalue; var next_page = Number(current_page + 1); var prev_page = Number(current_page - 1); var pages = total_pages; var viewing = Number((prev_page * 9) - 9 ); var thru = viewing + 9; var isall = (initialindex == 1)? 'all' : 0; var sort = (currsortcat)? currsortcat : sort; var start = viewing; viewing = viewing + 1; if(current_page != 1) { //fire up the str variable which will store our AJAX results if someone scrolls past the initail amount of media loaded var str =''; //emulate the genre browser behavior to get another batch of media ID's if someone really wants //to scroll and scroll and scroll..... url = url.replace(/start=\d*/, "start=" + start); jQuery.getJSON(url, function(response){ media_array = response.dataset; if (media_array) { jQuery('#genre_browser').text(''); jQuery('.thumbnail').removeClass('highlight'); for (i = 0; i < media_array.length; i++) { var media_item = media_array[i]; if (media_item.title && media_item.thumbnail_url) { var noQuotesTitle = new String(media_item.title); noQuotesTitle.replace('"', "'"); noQuotesTitle = noQuotesTitle.replace(/(<\w+)(\s*[^>]*)(>)/, ""); noQuotesTitle = noQuotesTitle.replace(/(<\/\w+>)/, ""); str = '<div id="mid_'+media_item.id+'" class="thumbnail"><a href="#" onclick="play(' + media_item.id + '); return false;" title="' + noQuotesTitle + '"><img src="https://web.archive.org/web/20130330134745/http://cdn-aki.vmixcore.com/imgman.jpg?url=' + media_item.thumbnail_url + '&width=92&height=67&fill=000000000" alt="' + noQuotesTitle + '" border="0" width="92"/></a><div class="thumbnailTitle"><a href="#" onclick="play(' + media_item.id + '); return false;" id="thumbTitleLink">' + noQuotesTitle + '</a></div></div>'; } jQuery('#mid_'+media_item.id).fadeTo(300,.33); jQuery('#genre_browser').append(str); jQuery('#mid_'+media_item.id).fadeTo(300, 1.0); jQuery('#mid_'+isplaying).addClass('highlight'); } } //append the results current_page = current_page - 1; jQuery('#bc').fadeTo(300, 0.33, function(){ jQuery('#bc').text(viewing + "-" + thru); }); jQuery('#bc').fadeTo(300, 1.0); changeArrows(); }); } } //MCCB 1.2- function for checking arrow status for the thumb scroller implementation function changeArrows() { //grab some prereq stuff off the page var pages = total_pages; //set the image class as needed. if( current_page == 1 ) { jQuery('#backScroll').addClass('disabled'); } else { jQuery('#backScroll').removeClass('disabled'); } if((current_page === pages)) { jQuery('#nextScroll').addClass('disabled'); } else { jQuery('#nextScroll').removeClass('disabled'); } } function show_stf() { $('send_to_friend').show(); flash_player1.call('pause'); } function hide_stf() { $('send_to_friend').hide(); flash_player1.call('play'); } function update_vc_comments_cb(o) { eval('var response = '+o.responseText); var num_vc_comments = response.data.video_comments.media.length; jQuery('#videocomments').text(num_vc_comments); } function swap_rating_cb(o) { eval('var response = '+o.responseText); current_rating = get_cookie('rating_'+curr_media_id); $('current_rating').style.width = current_rating*15+'px'; $('avg_rating').style.width = response.average*15+'px'; } function vmixIncrementPhotoViewsCallback(o) { } function vmixSwapPhotoViewCountCallback(o) { eval('var response = '+o.responseText); if (response.type != undefined && response.type == 'data') { var photoViewCount = response.data.photo_view_count; $('vmixMediaDetailsPlayCount').innerHTML = photoViewCount + ' Views'; } } function swap_comments_cb(o) { var response = o.responseText.evalJSON(); var comments_array = response.dataset; jQuery('#textcomments').text('0'); var str = ''; if (comments_array) { jQuery('#textcomments').text(comments_array.length); for (i=0; i < comments_array.length; i++) { str += '<p><b>Posted by: ' + comments_array[i].username + '</b><br/>'; str += comments_array[i].value + '<br/>'; str += '<i>on ' + comments_array[i].post_date + ' at ' + comments_array[i].post_time + '</i></p>'; } } else { str += '<div id="first_comment">Be the first to <a href="#" onclick="check_comment_login(); return false;">add a comment</a>.</div>'; } $('comments').innerHTML = str; } // swaps out metadata, rating data, comments, digg button, etc. function change_data(media) { vmixCurrentMedia = media; if (media != undefined) { // swap metadata $('videoTitle').innerHTML = media.title; document.title = media.title; if (media.description){ if(!adObject.default_persistent_ad){ $('videoDescription').innerHTML = media.description; }else{ //save video description for processing whether it exceeds two lines worth of text var descStringExp = '<table width="100%"><tr><td align="left"><b>Full Description</b>:</td><td align="right"> <img src="/images/close_dialog.png" border="0" onclick="expand();"/></td></tr></table>'; var fulldescription = media.description; descStringExp += fulldescription; //if video description is too long to fit in the alloted space, lets clip it and save the //original in another div container for use in presenting the full description div overlay. if(fulldescription.length > 85) { var descString = ''; descString = fulldescription.substr(0,85); jQuery('#videoDescriptionExpanded').html(descStringExp); descString = descString + '....<span id="expand"><b><a href="javascript:void(0)" onclick="expand(\'1\');"><font color="#527AB9">more</font></a></b></span>'; jQuery('#videoDescription').html(descString); }else{ jQuery('#videoDescription').html(fulldescription); } } if(!adObject.default_persistent_ad){ //MCCB 1.2- To make the template smarter, lets reclaim the space after a persistant ad //has been displayed to make room for a full description. if(jQuery('#videoDescription').css("height") == '32px' && !adObject.default_persistent_ad) { //fade out the ad, and slide the description area back to its original size. jQuery('#persistent_ad').fadeOut(); jQuery('#persistent_ad').html(''); jQuery('#videoDescription').animate({"height": "+=72px"}, "slow"); } } } else { $('videoDescription').innerHTML = '<i>No description available.</i>'; } var author = (media.username != undefined) ? media.username : ''; author = (author == 'ap') ? 'AP Reporter' : author; $('vmixMediaDetailsByLine').innerHTML = (author != '') ? '<b>By:</b> ' + author : ''; $('vmixMediaDetailsLocation').innerHTML = (media.location != undefined) ? media.location : ''; //MCCB1.2 -need to call a new getVideoComments helper new Ajax.Request('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/media/getVideoComments?target_id=' + curr_media_id, { method: 'get', onSuccess: update_vc_comments_cb }); // swap rating // $('rating').innerHTML = 'Loading...'; new Ajax.Request('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/ratings/getRatingSummary?media_id=' + curr_media_id, { method: 'get', onSuccess: swap_rating_cb }); // swap comments jQuery('#comments').html('Loading...'); new Ajax.Request('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/comments/getComments?media_id=' + curr_media_id, { method: 'get', onSuccess: swap_comments_cb }); // swap comments form id if (document.add_comment_form){ document.add_comment_form.media_id.value = curr_media_id; } // swap grab a link if (document.getElementById("vmixGrabALinkUrlField")) { document.getElementById("vmixGrabALinkUrlField").value = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=' + curr_media_id; } // swap send to friend if (document.send_to_friend_form){ document.send_to_friend_form.media_id.value = curr_media_id; document.send_to_friend_form.link_url.value = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=' + curr_media_id; } // swap atrrib badge var source_str = ''; var prop_name = "McClatchy"; if (media.username.toLowerCase() == prop_name.toLowerCase()){ source_str += '<img src=http://cdn-aki.vmixcore.com/imgman.jpg?url=http://cdn-aki.vmixcore.com/24/0/1/48824421/307/24/488/44fc35eb5f94c9bda92d70cfe9d80ae1.jpg&width=70&height=42>'; } else if (media.username.toLowerCase() == 'ap'){ source_str += '<img src="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/images/mcclatchy-b/ap_logo.jpg" alt="AP Video" width="70" height="42"/>'; } else { source_str += '<img src="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/images/mcclatchy-b/user_logo.jpg" alt="Community Content" width="70" height="42"/>'; } $('videoSource').innerHTML = source_str; if (media.genres){ $('videoGenreValue').innerHTML = media.genres[0].name; } // swap digg button make_digg('vmixMediaDetailsDiggLink'); // swap play count - deferred } } // this function is invoked via the flash player to display the companion asset alongside the ad function onCompanion(companion_html, currentEngine){ jQuery('#videoInfo').hide(); if(currentEngine != 'adaptv'){ jQuery('#companion_graphic').html(companion_html); } jQuery('#companion_graphic').show(); } // tells the flash player to play a diff video function rewrite_player(id, token, autoplay){ var url = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/media/getMedia?'; url += 'media_id=' + id; jQuery.getJSON(url, function(response){ adTarget = (isTopRequest == 1)? adFormat.replace('%%genre_name%%', escape(response.dataset.genres[0].name)): adTarget; adKeywordTarget = response.dataset.genres[0].genre_id; flash_player1.call('setParameter','report_metadata','genreId=' + adKeywordTarget); adObject.prepareAds(); var media_asset = response.dataset; change_data(media_asset); //MCCB 1.2 Updates to Rewrite Player. //Lets grab the old media id and set the new one. var old_id = isplaying; isplaying = id; jQuery('#videoDescriptionExpanded').hide(); jQuery('#videoDescriptionExpanded').html(''); //after we do that, need to remove the previously highlighted media. jQuery('.highlight').removeClass('highlight'); if (console && js_debug == 1){console.debug('VMIX: rewrite_player invoked with id='+id+' and token='+token)} requested_media_id = id; requested_media_token = token; //flash_player1.enableControls(); if (console && js_debug == 1){console.debug('VMIX: going to play content #'+id+',token:'+token)} curr_media_id = id; //MCCB 1.2 - highlight the media being played. jQuery('#mid_'+id).addClass('highlight'); if(curr_media_id == undefined) { curr_media_id = isplaying; } jQuery('#companion_graphic').hide(); jQuery('#videoInfo').show(); if (console && js_debug == 1){console.debug('VMIX: playing video #'+id+', token:'+token)} if (autoplay){ if (console && js_debug == 1){console.debug('VMIX: load video, autoplay: ON')} setCookie('mediaPlays', ++totalPlays, '', '/',document.domain,''); //var show_ads = showAds(); //flash_player1.loadVideoByToken(token, true, show_ads, adTarget);//VMIX[Smitty] add the 3rd param for ad targetting flash_player1.call('load',token, true); } else { if (console && js_debug == 1){console.debug('VMIX: load video, autoplay: OFF')} setCookie('mediaPlays', ++totalPlays, '', '/',document.domain,''); //var show_ads = showAds(); //flash_player1.loadVideoByToken(token, false, show_ads, adTarget);//VMIX[Smitty] add the 3rd param for ad targetting flash_player1.call('load',token, false); } timer.start('play_timer'); if (console && js_debug == 1){console.debug('VMIX: successfully started playing video #'+id+', token:'+token+' - started player timer'); console.time('player')} }); } // callback from flash onclick of the prev button (via vmixVideoPlayerEventHandler) function player_prev(){ var prev; for (i in playlist_array){ if (playlist_array[i].id == curr_media_id){ rewrite_player(prev.id, prev.token, 1); } prev = playlist_array[i]; } } // looping at end of playlist function player_rewind(){ // just grab the first in the playlist and break for (i in playlist_array){ rewrite_player(playlist_array[i].id, playlist_array[i].token, 0); break; } } // callback from flash onclick of the next button (via vmixVideoPlayerEventHandler) function player_next(){ if (console && js_debug == 1){console.debug('VMIX: next video called')} var found = 0; for (i in playlist_array){ if (found == 1){ if (playlist_array[i].id){ rewrite_player(playlist_array[i].id, playlist_array[i].token, 1); break; } else { // we're at the end of the list...rewind player_rewind(); break; } } if (playlist_array[i].id == curr_media_id){ found = 1; } } } function player_complete(){ if (isAdPlaying) { isAdPlaying = false; } else { if (console && js_debug == 1){console.debug('VMIX: finished playing #', curr_media_id); console.timeEnd('player')} var play_length = timer.end('play_timer'); if (play_length < 5000){ if (console && js_debug == 1){console.warn('VMIX: flash player bug...not enough time passed ('+play_length+'ms) before last play event')} return false; } flash_player1.call('pause'); player_next(); } } function play_start() { jQuery('#companion_graphic').hide(); jQuery('#videoInfo').show(); } // general callback function for flash to hit when an event occurs function vmixVideoPlayerEventHandler(event) { var eventType = ((typeof(event) == 'object') ? event.type : event); //if(eventType != 'ad_interval' && eventType != 'video_interval' ) alert(eventType); switch(eventType) { case "ad_start": { templateObj.adIsPlaying = true; if(event.ad_type != 'overlay'){ templateObj.disableBrowsing(); } if(event.ad_type != 'postroll'){ postRollPlayed = true; } if(event.companions){ adObject.load(event.companions); adObject.call(); } break; } case "ad_complete": { templateObj.adIsPlaying = false; templateObj.enableBrowsing(); break; } case "adaptv_start": { templateObj.adIsPlaying = true; templateObj.disableBrowsing(); adObject.load(); adObject.call(); break; } case "adaptv_complete": { templateObj.adIsPlaying = false; templateObj.enableBrowsing(); break; } case "previous": { player_prev(); postRollPlayed = false; break; } case "next": { player_next(); postRollPlayed = false; break; } case "video_complete": { postRoll = flash_player1.call('getParameter','postroll_name'); if(postRoll != '' && postRollPlayed){ player_complete(); }else if( postRoll == '' ){ player_complete(); } break; } case "video_start": { play_start(); templateObj.enableBrowsing(); adObject.getPersistentAd(); break; } case "video_unload": { adObject.show_persistent_companion = false; templateObj.disableBrowsing(); break; } default: { break; } } // allow partner's to set a custom event handler if (typeof(vmixCustomPlayerEventHandler) == 'function') { vmixCustomPlayerEventHandler(event); } } var isAdPlaying = false; function adPlay() { isAdPlaying = true; } function show_image_ad(){ var x = Math.floor(Math.random()*ads.length); var ad_img_src = 'https://web.archive.org/web/20130330134745/http://cdn-aki.vmixcore.com/imgman.jpg?url='+ads[x].thumbnail[0].url+'&width=300&height=250&fill=000000000'; vmix_show('grey_out'); document.getElementById('image_ad').innerHTML = 'ADVERTISEMENT<br/><a href="" target="_blank"><img style="border:none" src="'+ad_img_src+'"/></a><br/> Please take a moment to visit our sponsor.'; vmix_show('image_ad'); setTimeout("vmix_hide('grey_out'); vmix_hide('image_ad')", 5000); } function swap_image(id){ //vmix_hide('photo'); //vmix_show('image_loading'); jQuery('#photo').fadeTo("fast", ".01", function () { jQuery('.highlight').removeClass('highlight'); jQuery('#mid_'+id).addClass('highlight'); if (console && js_debug == 1){console.debug('VMIX: swap image called, looking for matching media id')} for (i in media_array){ if (media_array[i].id == id) { var media = media_array[i]; change_data(media); var url = media.url; } } if (url){ $('photo').src = 'https://web.archive.org/web/20130330134745/http://cdn-aki.vmixcore.com/imgman.jpg?url='+url+'&width=640&height=360&fill=000000000'; $('photo').onload = function (){ //vmix_hide('image_loading'); vmix_show('photo'); jQuery('#photo').fadeTo("fast", 1);}; } }); } function make_digg(target){ var digg_url = 'https://web.archive.org/web/20130330134745/http://digg.com/submit?phase=2&url='+escape('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id='+curr_media_id); for (i in media_array){ if (media_array[i].id == curr_media_id){ var title = media_array[i].title; var description = media_array[i].description; } } if (!description){ description = title; } digg_url += '&title='+escape(title)+'&bodytext='+escape(description); $(target).href = digg_url; } function vmixBookmark(title, url) { // Firefox 1.x+ if (window.sidebar) { window.sidebar.addPanel(title, url, ""); // Opera 7+ } else if (window.opera && window.print) { var linkElement = document.createElement('a'); linkElement.setAttribute('href',url); linkElement.setAttribute('title',title); linkElement.setAttribute('rel','sidebar'); linkElement.click(); // IE 4+ } else if (document.all) { window.external.AddFavorite(url, title); } } function vmixBookmarkMedia() { if (vmixCurrentMedia) { var title = vmixCurrentMedia.title; var url = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=' + curr_media_id; vmixBookmark(title, url); } } function check_comment_login(){ if (!commenter){ var commenter = new vmix_commenter; } var pA = jQuery('#persistent_ad').text(); if(pA != undefined) { jQuery('#persistent_ad').hide(); } commenter.check_login_required(); } // prepare the player swf var playerUrl = "https://web.archive.org/web/20130330134745/http://cdn-akm.vmixcore.com" + "/core-flash/UnifiedVideoPlayer/UnifiedVideoPlayer.swf" + "?player_id=" + "75a7753b5f23df9c00514cdb0daa934f"; var playerId = "&player_id=75a7753b5f23df9c00514cdb0daa934f"; var playerToken = "75a7753b5f23df9c00514cdb0daa934f"; if(!playerId){ var so = new SWFObject(playerUrl, "player_swf", "608px", "362px", "8"); so.addParam("allowScriptAccess", "always"); so.addParam("allowFullScreen", "true"); so.addParam("wmode", "transparent"); if(showAds() === true){ so.addParam("FlashVars", "report_metadata=genreId=00007030&show_full_screen_button=1&show_previous_button=1&show_next_button=1&services_url=&token=V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo&auto_play=true&event_handler=vmixVideoPlayerEventHandler&preroll_name=default&preroll_companion_names=default_companion,default_companion2&ad_service=vmix&ad_target=genre=Goldman+Sachs"); }else{ so.addParam("FlashVars", "report_metadata=genreId=00007030&show_full_screen_button=1&show_previous_button=1&show_next_button=1&services_url=&token=V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo&auto_play=true&event_handler=vmixVideoPlayerEventHandler"); } }else{ var so = new SWFObject(playerUrl, "player_swf", "608px", "362px", "8"); so.addParam("allowScriptAccess", "always"); so.addParam("allowFullScreen", "true"); so.addParam("wmode", "transparent"); if(showAds() === true){ so.addParam("FlashVars", "report_metadata=genreId=00007030&show_control_bar=1&auto_play=true&show_native_size_button=0&show_previous_button=1" + playerId + "&show_next_button=1&services_url=&token=V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo&ad_target=genre=Goldman+Sachs&event_handler=vmixVideoPlayerEventHandler"); }else{ so.addParam("FlashVars", "report_metadata=genreId=00007030&show_control_bar=1&auto_play=true&show_native_size_button=0&show_previous_button=1" + playerId + "&show_next_button=1&services_url=&token=V0mME8BSlALX1VG4vBLstwQpu1tkqVKOVo&event_handler=vmixVideoPlayerEventHandler&preroll_name="); } } var flash_player1; var keep_selected; function gateway_init() { /* Check whether the browser is IE. If so, flashVideoPlayer is window.videoPlayer. Otherwise, it's document.videoPlayer. The videoPlayer is the ID assigned to the <object> and <embed> tags. */ var isIE = navigator.appName.indexOf("Microsoft") != -1; flash_player1 = (isIE) ? window['player_swf'] : document['player_swf']; } function play(id) { isAdPlaying = false; if (console && js_debug == 1){console.debug('VMIX: play function invoked with id: '+id)} var found_it = 0; for (i in media_array) { if (media_array[i].id == id) { // assign the playlist_array to the media_array found_it = 1; curr_media_id = id; playlist_array = media_array; if (class_id == 1){ var id = media_array[i].id; var token = media_array[i].token; if (console && js_debug == 1){console.debug('VMIX: calling rewrite player with id = '+id+' and token = '+token)} rewrite_player(media_array[i].id, media_array[i].token, 1); } else { swap_image(id); } } } } /* GENRE BROWSER */ var vmix_gb = Class.create(); vmix_gb.prototype = { initialize: function(target_div){ this.target_div = target_div; this.genre_tree = new Array; this.genre_tree[0] = new Array; this.genre_tree[0]['name'] = "Special Reports"; this.genre_tree[0]['id'] = "3879"; this.genre_tree[0]['child'] = new Array; this.genre_tree[0]['child'][0] = new Array; this.genre_tree[0]['child'][0]['name'] = "Arlington Firefighters"; this.genre_tree[0]['child'][0]['id'] = "3880"; this.genre_tree[0]['child'][1] = new Array; this.genre_tree[0]['child'][1]['name'] = "Guantanamo detainees"; this.genre_tree[0]['child'][1]['id'] = "3881"; this.genre_tree[0]['child'][2] = new Array; this.genre_tree[0]['child'][2]['name'] = "Hurricane Gustav"; this.genre_tree[0]['child'][2]['id'] = "4326"; this.genre_tree[0]['child'][3] = new Array; this.genre_tree[0]['child'][3]['name'] = "Fallout on Main Street"; this.genre_tree[0]['child'][3]['id'] = "4487"; this.genre_tree[0]['child'][4] = new Array; this.genre_tree[0]['child'][4]['name'] = "PSU journalists in Mexico"; this.genre_tree[0]['child'][4]['id'] = "5772"; this.genre_tree[0]['child'][5] = new Array; this.genre_tree[0]['child'][5]['name'] = "Beijing Olympics"; this.genre_tree[0]['child'][5]['id'] = "6203"; this.genre_tree[0]['child'][6] = new Array; this.genre_tree[0]['child'][6]['name'] = "Inauguration 2009"; this.genre_tree[0]['child'][6]['id'] = "6204"; this.genre_tree[0]['child'][7] = new Array; this.genre_tree[0]['child'][7]['name'] = "Sotomayor confirmation hearing"; this.genre_tree[0]['child'][7]['id'] = "6234"; this.genre_tree[0]['child'][8] = new Array; this.genre_tree[0]['child'][8]['name'] = "Goldman Sachs"; this.genre_tree[0]['child'][8]['id'] = "7030"; this.genre_tree[0]['child'][9] = new Array; this.genre_tree[0]['child'][9]['name'] = "Gulf oil spill"; this.genre_tree[0]['child'][9]['id'] = "8536"; this.genre_tree[0]['child'][10] = new Array; this.genre_tree[0]['child'][10]['name'] = "PSU journalists in China"; this.genre_tree[0]['child'][10]['id'] = "8818"; this.genre_tree[0]['child'][11] = new Array; this.genre_tree[0]['child'][11]['name'] = "Kagan confirmation hearing"; this.genre_tree[0]['child'][11]['id'] = "8830"; this.genre_tree[0]['child'][12] = new Array; this.genre_tree[0]['child'][12]['name'] = "Medill News Service"; this.genre_tree[0]['child'][12]['id'] = "8877"; this.genre_tree[0]['child'][13] = new Array; this.genre_tree[0]['child'][13]['name'] = "Spending the Stimulus"; this.genre_tree[0]['child'][13]['id'] = "8942"; this.genre_tree[0]['child'][14] = new Array; this.genre_tree[0]['child'][14]['name'] = "Middle East"; this.genre_tree[0]['child'][14]['id'] = "12621"; this.genre_tree[0]['child'][15] = new Array; this.genre_tree[0]['child'][15]['name'] = "PSU journalists in South Africa"; this.genre_tree[0]['child'][15]['id'] = "14661"; this.genre_tree[0]['child'][16] = new Array; this.genre_tree[0]['child'][16]['name'] = "PSU journalists in Brazil"; this.genre_tree[0]['child'][16]['id'] = "156211"; this.genre_tree[1] = new Array; this.genre_tree[1]['name'] = "News"; this.genre_tree[1]['id'] = "172121"; this.genre_tree[2] = new Array; this.genre_tree[2]['name'] = "Election 2012"; this.genre_tree[2]['id'] = "172131"; }, browse: function(genre_id, sort, class_id, genre_name , notInitial){ if (!sort){if (console){ console.debug('no sort specified in gb call');return false }} this.sort = sort; this.genre_id = genre_id; this.genre_name = genre_name; var old_genre_name = curr_genre_name; curr_genre_id = genre_id; this.class_id = class_id; initial_index = itemindex; if(notInitial != undefined) initialRequest = false; adTarget = adFormat.replace('%%genre_name%%', escape(genre_name));//hardcoded this for now, will change later if this needs to be smarter. adKeywordTarget = genre_id; curr_genre_id = genre_id; var final_genre_name = (genre_name.length > 1)? genre_name : old_genre_name; curr_genre_name = final_genre_name; currsortvalue = sort; if(initialRequest) { if(initial_index > 9) { var start = (Math.ceil(initial_index / 9)); var item_index = (start - 1) * 9; url = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/media/getDirectMediaList?' + initialRequest; url += '&class_id='+class_id+'&start='+item_index+'&limit=9'; } else { url = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/media/getDirectMediaList?' + initialRequest; url += '&class_id='+class_id+'&start=0&limit=9'; } initial_index = 1; var ajax = new Ajax.Request(url, {method:'get', onComplete:this.browse_cb.bind(this)}); } else { currsortcat = 0; initialindex = 0; current_page = 1; indexed = ''; indexed_back = ''; initialQuery = false; url = 'https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/api/media/getDirectMediaList?'; if (genre_id > 0) { isTopRequest = false; url += '&genre_id='+genre_id+'&'; } else { isTopRequest = 1; url += '&all=1&'; sort = 'pop'; } url += 'class_id='+class_id+'&sort='+sort+'&start=0&limit=9'; var ajax = new Ajax.Request(url, {method:'get', onComplete:this.browse_cb.bind(this)}); } }, browse_cb: function(o){ var response = o.responseText.evalJSON(); media_array = response.dataset; // store the result in a global variable so we can ref it later var str = ''; var max_items = 250; //MCCB 1.2 - Add a span tag to display what items are being viewed... update as needed. //basically 9 thumbnails per page is set in stone...as such, lets hard code this. var pages = Math.ceil(response.total / 9); total_pages = pages; total_count = response.total; if (media_array) { if (console && js_debug == 1){console.debug('VMIX: data was returned from genre contents call, length = ', media_array.length, ' and here is the obj: ', media_array)} for (i = 0; i < media_array.length; i++) { if (console && js_debug == 1){console.debug('VMIX: starting media_array parsing')} var media_item = media_array[i]; if (media_item.title && media_item.thumbnail) { var noQuotesTitle = new String(media_item.title); noQuotesTitle.replace('"', "'"); noQuotesTitle = noQuotesTitle.replace(/(<\w+)(\s*[^>]*)(>)/, ""); noQuotesTitle = noQuotesTitle.replace(/(<\/\w+>)/, ""); //MCCB 1.2 - Need to set a div id that matches the media id so we can highlight it! str += '<div id="mid_'+media_item.id+'" class="thumbnail"><a href="#" onclick="play(' + media_item.id + '); return false;" title="' + noQuotesTitle + '"><img src="https://web.archive.org/web/20130330134745/http://cdn-aki.vmixcore.com/imgman.jpg?url=' + media_item.thumbnail_url + '&width=92&height=67&fill=000000000" alt="' + noQuotesTitle + '" border="0" width="92"/></a><div class="thumbnailTitle"><a href="#" onclick="play(' + media_item.id + '); return false;" id="thumbTitleLink">' + noQuotesTitle + '</a></div></div>'; } } } if (console && js_debug == 1){console.debug('VMIX: got through media_array iteration')} if (str == ''){ // no media found, so write default message if (console && js_debug == 1){console.debug('VMIX: no media_array for this category')} jQuery('#nextScroll').addClass('disabled'); jQuery('#backScroll').addClass('disabled'); current_page = 1; total_pages = 1; indexed_back = 0; str = '<div class="no_media_message" style="height:118px">There are no videos in this category. Please try another.</div>'; } str = '<div class="clear"></div>'+str; // now let's figure out which genre the user just chose and build the breadcrumb html for it var breadcrumb = ''; if (console && js_debug == 1){console.debug('VMIX: looking for genre to match in nav')} for (i in this.genre_tree){ if (this.genre_tree[i].id == this.genre_id){ breadcrumb = this.genre_tree[i].name; var top_level = this.genre_tree[i].id; } if (this.genre_tree[i].child){ for (j=0; j<this.genre_tree[i].child.length; j++){ if (this.genre_tree[i].child[j].id == this.genre_id){ breadcrumb = '<a href="#" onclick="gb.browse(\'' + this.genre_tree[i].id + '\', \'date\', \'1\', \'' + this.genre_tree[i].name + '\', \'1\');return false">' + this.genre_tree[i].name + '</a> > ' + this.genre_tree[i].child[j].name; var top_level = this.genre_tree[i].id; } } } } //MCCB 1.2 - Update the breadcrumb to include information about what items are being viewed in the thumb scroller. if (media_array) { total_count = response.total; current_marker = current_page; var viewing = ((current_marker) * 9) - 8; viewing = (total_count == 0)? 0:viewing; //MCCB 1.2 - some checks to see what items we are viewing. var thru = ((viewing + 8) < total_count)? viewing + 8: total_count; //MCCB 1.2 - set the new span id "bc" and update while scrolling breadcrumb += ' (Viewing Items <span id="bc">'+ viewing + '-' + thru + '</span> of ' + total_count + " Video"; if (media_array.length != 1){ breadcrumb += 's'; } breadcrumb += ')'; } $(this.target_div).innerHTML = str; jQuery('#mid_' + isplaying).addClass('highlight'); changeArrows(); jQuery('#top_media .yuimenubaritemlabel').removeClass('selected'); jQuery('#main_menu .yuimenubaritemlabel').removeClass('selected'); if (!this.genre_id){ // top media was selected if (console && js_debug == 1){console.debug('VMIX: top_media was selected')} jQuery('#top_media .yuimenubaritemlabel').addClass('selected'); $('thumbnailSortLinks').hide(); $('show_all_link').innerHTML = ' | <a href="/p/grid?all=1&class_id='+this.class_id+'">Show All</a>'; breadcrumb2 = breadcrumb; breadcrumb = "Top Videos"; breadcrumb += breadcrumb2; clearInterval(keep_selected); keep_selected = setInterval("check_selected_class('top_media')",500); } else if(initialQuery){ $('thumbnailSortLinks').hide(); $('show_all_link').innerHTML = ' | <a href="/p/grid?all=1&class_id='+this.class_id+'">Show All</a>'; breadcrumb2 = breadcrumb; breadcrumb = "Search Results for \"" + initialQuery +"\""; breadcrumb += breadcrumb2; } else { // and finally swap the class of the selected top level genre $('thumbnailSortLinks').show(); jQuery('#genre_'+top_level+' .yuimenubaritemlabel').addClass('selected'); $('show_all_link').innerHTML = ' | <a href="/p/grid?genre='+this.genre_id+'&class_id='+this.class_id+'">Show All</a>'; clearInterval(keep_selected); keep_selected = setInterval("check_selected_class('genre_"+top_level+"')",500); } jQuery('#breadcrumbs').html(breadcrumb); if (console && js_debug == 1){console.debug('VMIX: testing for initial load')} if (!initial_load){ // initial media load if (console && js_debug == 1){console.debug('VMIX: initial load detected, attempting to play')} playlist_array = media_array; if (console && js_debug == 1){console.debug('VMIX: successfully finished initial load')} initial_load = 1; } } } // END GENRE BROWSER // function check_selected_class(target){ jQuery('#'+target+' .yuimenubaritemlabel').addClass('selected'); } // call genre browser to get it started for the first time var gb = new vmix_gb('genre_browser'); // DROP DOWN MENU // YAHOO.example.onMenuBarReady = function() { var oAnim; function setupMenuAnimation(p_oMenu) { if(!p_oMenu.animationSetup) { var aItems = p_oMenu.getItemGroups(); if(aItems && aItems[0]) { var i = aItems[0].length - 1; var oSubmenu; do { oSubmenu = p_oMenu.getItem(i).cfg.getProperty("submenu"); if(oSubmenu) { oSubmenu.beforeShowEvent.subscribe(onMenuBeforeShow, oSubmenu, true); oSubmenu.showEvent.subscribe(onMenuShow, oSubmenu, true); } } while(i--); } p_oMenu.animationSetup = true; } } function onMenuBeforeShow(p_sType, p_sArgs, p_oMenu) { if(oAnim && oAnim.isAnimated()) { oAnim.stop(); oAnim = null; } YAHOO.util.Dom.setStyle(this.element, "overflow", "hidden"); YAHOO.util.Dom.setStyle(this.body, "marginTop", ("-" + this.body.offsetHeight + "px")); } function onMenuShow(p_sType, p_sArgs, p_oMenu) { oAnim = new YAHOO.util.Anim( this.body, { marginTop: { to: 0 } }, .5, YAHOO.util.Easing.easeOut ); oAnim.animate(); var me = this; function onTween() { me.cfg.refireEvent("iframe"); } function onAnimationComplete() { YAHOO.util.Dom.setStyle(me.body, "marginTop", ("0px")); YAHOO.util.Dom.setStyle(me.element, "overflow", "visible"); setupMenuAnimation(me); } if(this.cfg.getProperty("iframe") == true) { oAnim.onTween.subscribe(onTween); } oAnim.onComplete.subscribe(onAnimationComplete); } // "beforerender" event handler for the menu bar function onMenuBeforeRender(p_sType, p_sArgs, p_oMenu) { var oSubmenuData = { "home": [ ], "3879": [ { text: "Arlington Firefighters", onclick: {fn:foo = function(){gb.browse('3880','date','1','Arlington Firefighters', '1');}} }, { text: "Guantanamo detainees", onclick: {fn:foo = function(){gb.browse('3881','date','1','Guantanamo detainees', '1');}} }, { text: "Hurricane Gustav", onclick: {fn:foo = function(){gb.browse('4326','date','1','Hurricane Gustav', '1');}} }, { text: "Fallout on Main Street", onclick: {fn:foo = function(){gb.browse('4487','date','1','Fallout on Main Street', '1');}} }, { text: "PSU journalists in Mexico", onclick: {fn:foo = function(){gb.browse('5772','date','1','PSU journalists in Mexico', '1');}} }, { text: "Beijing Olympics", onclick: {fn:foo = function(){gb.browse('6203','date','1','Beijing Olympics', '1');}} }, { text: "Inauguration 2009", onclick: {fn:foo = function(){gb.browse('6204','date','1','Inauguration 2009', '1');}} }, { text: "Sotomayor confirmation hearing", onclick: {fn:foo = function(){gb.browse('6234','date','1','Sotomayor confirmation hearing', '1');}} }, { text: "Goldman Sachs", onclick: {fn:foo = function(){gb.browse('7030','date','1','Goldman Sachs', '1');}} }, { text: "Gulf oil spill", onclick: {fn:foo = function(){gb.browse('8536','date','1','Gulf oil spill', '1');}} }, { text: "PSU journalists in China", onclick: {fn:foo = function(){gb.browse('8818','date','1','PSU journalists in China', '1');}} }, { text: "Kagan confirmation hearing", onclick: {fn:foo = function(){gb.browse('8830','date','1','Kagan confirmation hearing', '1');}} }, { text: "Medill News Service", onclick: {fn:foo = function(){gb.browse('8877','date','1','Medill News Service', '1');}} }, { text: "Spending the Stimulus", onclick: {fn:foo = function(){gb.browse('8942','date','1','Spending the Stimulus', '1');}} }, { text: "Middle East", onclick: {fn:foo = function(){gb.browse('12621','date','1','Middle East', '1');}} }, { text: "PSU journalists in South Africa", onclick: {fn:foo = function(){gb.browse('14661','date','1','PSU journalists in South Africa', '1');}} }, { text: "PSU journalists in Brazil", onclick: {fn:foo = function(){gb.browse('156211','date','1','PSU journalists in Brazil', '1');}} } ], "172121": [ ], "172131": [ ] }; this.getItem(1).cfg.setProperty("submenu", { id:"3879", itemdata: oSubmenuData["3879"] }); setupMenuAnimation(this); } var oMenuBar = new YAHOO.widget.MenuBar("main_menu", { autosubmenudisplay:true, hidedelay:750, lazyload:true }); oMenuBar.beforeRenderEvent.subscribe(onMenuBeforeRender, oMenuBar, true); oMenuBar.render(); }; //YAHOO.util.Event.onContentReady("main_menu", YAHOO.example.onMenuBarReady); // END DROP DOWN MENU //--> </script> <style type="text/css"> #grey_out {display:none; width:100%; height:2700px; background:#333; position:absolute; top:0px; left:0px; z-index:1; filter:alpha(opacity=65);-moz-opacity:.65;opacity:.65;} </style> <div id="grey_out"></div> <div id="image_ad" style="display:none; color:#fff; font-size:22px; text-align:center; z-index:3; width:302px; background:#000; border:solid 1px #fff; position:absolute; left:200px; top:200px"></div> <div id="player"> <div id="player_container"></div> <script type="text/javascript"> so.write("player_container"); </script> <div style="clear:both;"></div> </div> <div id="companion_graphic" style="display:none"></div> <div id="videoInfo"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><div id="videoTitle">McClatchy's Goldman Sachs probe</div></td> <td><div id="videoSource" style="float:right;"><img src="https://web.archive.org/web/20130330134745im_/http://cdn-aki.vmixcore.com/imgman.jpg?url=http://cdn-aki.vmixcore.com/24/0/1/48824421/307/24/488/44fc35eb5f94c9bda92d70cfe9d80ae1.jpg&width=70&height=42"></div></td> </tr> </table> <div style="clear:both;"></div> <div id="videoDescription"> Greg Gordon talks to the Real News Network about McClatchy's five-month investigation of Wall Street colossus Goldman Sachs. </div> <div id="videoGenre"><span id="videoGenreLabel"></span> <span id="videoGenreValue">Goldman Sachs</span></div> <div style="clear:both;"></div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <td> <td><div id="vmixMediaDetailsByLine"><b>By:</b> McClatchy</div></td> <td><div id="vmixMediaDetailsLocation"></div></td> </td> </table> <div style="clear:both;"></div> <div id="commentsHeading">Comments: text (<span id="textcomments">0</span>) | <a href="javascript: void(0);" onclick="checkVideoCommentLogin();" id="vidlink">video</a>(<span id="videocomments">0</span>) <a id="addCommentLink" href="#" onclick="check_comment_login(); return false">+ Add a comment</a> </div> <div id="comments"> <div id="first_comment">Be the first to <a href="#" onclick="check_comment_login(); return false">add a comment</a>.</div> </div> <div style="clear:both;"></div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="bottom"> <td> <div id="vmixMediaDetailsUserRatingContainer"> <ul class="star-rating" id="star_rating" onmouseout="return false; document.getElementById('your_rating_text').innerHTML='Your rating';"> <li class="current-rating" id="current_rating" style="width:0px"> <li><a href="#" onclick="rate('media',curr_media_id,1); return false" id="rating_1" title="Rate this 1 star out of 5" class="one-star" onmouseover="return false; document.getElementById('your_rating_text').innerHTML='I hated it';">1</a></li> <li><a href="#" onclick="rate('media',curr_media_id,2); return false" id="rating_2" title="Rate this 2 stars out of 5" class="two-stars" onmouseover="return false; document.getElementById('your_rating_text').innerHTML='I did not like it';">2</a></li> <li><a href="#" onclick="rate('media',curr_media_id,3); return false" id="rating_3" title="Rate this 3 stars out of 5" class="three-stars" onmouseover="return false; document.getElementById('your_rating_text').innerHTML='I liked it';">3</a></li> <li><a href="#" onclick="rate('media',curr_media_id,4); return false" id="rating_4" title="Rate this 4 stars out of 5" class="four-stars" onmouseover="return false; document.getElementById('your_rating_text').innerHTML='I really liked it!';">4</a></li> <li><a href="#" onclick="rate('media',curr_media_id,5); return false" id="rating_5" title="Rate this 5 stars out of 5" class="five-stars" onmouseover="return false; document.getElementById('your_rating_text').innerHTML='I loved it!!';">5</a></li> </ul> <div id="vmixMediaDetailsYourRatingLabel">Your Rating</div> <script type="text/javascript"> // restore their current rating from the cookie value var current_rating = get_cookie('rating_'+curr_media_id); document.getElementById('current_rating').style.width = current_rating*15+'px'; </script> </div> </td> <td> <div id="vmixMediaDetailsAverageRatingContainer"> <ul class="star-rating average" id="rate_avg"><li class="current-rating" id="avg_rating" style="width: 75px"></li></ul> <div id="vmixMediaDetailsAverageRatingLabel">Popularity</div> </div> </td> <td> <div id="vmixMediaDetailsPlayCount"></div> </td> <td> <div id="vmixMediaDetailsViralLinks"> <a href="#" onclick="vmixShowGrabALinkDialog(); return false;" id="vmixMediaDetailsGrabALink" class="vmixMediaDetailsViralLink" title="Grab this Link"><img src="https://web.archive.org/web/20130330134745im_/http://videos.mcclatchydc.com/vmix_hosted_apps/images/icon_grabalink.png" alt="Grab this Link" border="0" width="16" height="16"/></a> <a href="#" onclick="show_stf(); return false;" id="vmixMediaDetailsSendToFriendLink" class="vmixMediaDetailsViralLink" title="Send to Friend"><img src="https://web.archive.org/web/20130330134745im_/http://videos.mcclatchydc.com/vmix_hosted_apps/images/icon_sendtofriend.png" alt="Send to Friend" border="0" width="16" height="16"/></a> <a href="#" onclick="vmixBookmarkMedia(); return false;" id="vmixMediaDetailsAddToFavoritesLink" class="vmixMediaDetailsViralLink" title="Add to Favorites"><img src="https://web.archive.org/web/20130330134745im_/http://videos.mcclatchydc.com/vmix_hosted_apps/images/icon_bookmark.png" alt="Add to Favorites" border="0" width="16" height="16"/></a> <a href="https://web.archive.org/web/20130330134745/http://digg.com/submit?phase=2&url=http%3A%2F%2Fvideos.mcclatchydc.com%2Fvmix_hosted_apps%2Fp%2Fmedia%3Fid%3D7084115%26amp%3Bitem_index%3D&title=McClatchy%27s+Goldman+Sachs+probe&bodytext=Greg+Gordon+talks+to+the+Real+News+Network+about+McClatchy%27s+five-month+investigation+of+Wall+Street+colossus+Goldman+Sachs." target="_blank" id="vmixMediaDetailsDiggLink" class="vmixMediaDetailsViralLink" title="Digg this!"><img src="https://web.archive.org/web/20130330134745im_/http://videos.mcclatchydc.com/vmix_hosted_apps/images/digg_16x16.gif" alt="Digg this!" border="0" width="16" height="16"/></a> </div> </td> </tr> </table> <!-- MCCB 1.2 PERSISTENT AD CONTAINER--> <div id="persistent_ad" style="position:relative;text-align:center;"> </div> <!-- add comment pop up --> <div id="add_comment" style="display:none;"> <form onsubmit="add_comment(this); return false" name="add_comment_form" id="add_comment_form"> <div class="comFormLabel">Your Name:</div> <div class="comFormField"><input type="text" name="name"/></div> <div class="clear"></div> <div class="comFormLabel">Your Comment:</div> <div class="comFormField"><textarea name="comment"></textarea></div> <div class="clear"></div> <div class="comFormLabel"></div> <div class="comFormSubmit"><input type="hidden" name="media_id" value="7084115"/> <input type="button" value="Cancel" onclick="hide_comment_box();"/> <input type="submit" value="Submit"/></div> <div class="clear"></div> </form> <div style="clear:both;"></div> </div> <!-- grab a link dialog --> <div id="vmixGrabALinkDialog" style="display:none;"> <form action="" onsubmit="return false;" id="vmixGrabALinkForm"> <textarea name="url" id="vmixGrabALinkUrlField" style="border:1px solid #666666; width:100%;" rows="2" readonly="readonly">http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=7084115&item_index=&genre_id=00007030</textarea> <input type="button" value="Cancel" id="vmixGrabALinkCancelButton" onclick="vmixHideGrabALinkDialog();"/> </form> <div style="clear:both;"></div> </div> <!-- send to friend dialog --> <div id="send_to_friend" style="display:none;"> <form onsubmit="send_to_friend(this); return false" name="send_to_friend_form"> <input type="hidden" name="media_id" value="7084115"/> <input type="hidden" name="link_url" value="http://videos.mcclatchydc.com/vmix_hosted_apps/p/media?id=7084115&item_index=&genre_id=00007030"/> <div class="stfFormLabel">Your Email:</div> <div class="stfFormField"><input type="text" name="from_email"/></div> <div class="clear"></div> <div class="stfFormLabel">Friend's Email:</div> <div class="stfFormField"><input type="text" name="to_email"/></div> <div class="clear"></div> <div class="stfFormLabel">Your Message:</div> <div class="stfFormField"><textarea name="message"></textarea></div> <div class="stfFormLabel"></div> <div class="clear"></div> <div class="stfFormSubmit"><input type="button" value="Cancel" onclick="hide_stf();"/> <input type="submit" value="Send"/></div> <div class="clear"></div> </form> <div style="clear:both;"></div> </div> <div style="clear:both;"></div> </div> <div class="clear"></div> <div id="sectionNav"> <div id="main_menu" class="yuimenubar yuimenubarnav yui-module yui-overlay visible" style="z-index: 0; position: static; display: block;"> <div class="bd"> <ul class="first-of-type"> <li class="yuimenubaritem" id="top_media"><a href="#" onclick="gb.browse('','date',class_id,'Election 2012','1');return false" class="yuimenubaritemlabel">Top Videos</a></li> <li class="yuimenubaritem" id="genre_3879"><a href="#" onclick="gb.browse('3879','date',class_id, 'Special Reports','1');return false" class="yuimenubaritemlabel">Special Reports</a></li> <li class="yuimenubaritem" id="genre_172121"><a href="#" onclick="gb.browse('172121','date',class_id, 'News','1');return false" class="yuimenubaritemlabel">News</a></li> <li class="yuimenubaritem" id="genre_172131"><a href="#" onclick="gb.browse('172131','date',class_id, 'Election 2012','1');return false" class="yuimenubaritemlabel">Election 2012</a></li> </ul> </div> </div> <div class="clear"></div> </div> <!-- MCCB 1.2 Media Information --> <div style="display:none" id="initialindex">all</div> <div id="thumbnailsWrapper"> <div id="breadcrumbs"></div><div id="show_all_link"></div> <div id="thumbnailSortLinks"> Sort By: <form> <select onchange="gb.browse(curr_genre_id, this.options[this.selectedIndex].value, class_id, '','1');"> <option value="date">Most Recent</option> <option value="pop">Most Popular</option> <option value="rating">Highest Rated</option> </select> </form> </div> <div class="clear"></div> <!-- MCCB 1.2 Thumb scroller --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td valign="top" style="width:40px;"><a id="backScroll" class="disabled" href="javascript:scrollBack()"></a></td> <td style="overflow: hidden; float: left; padding: none; margin: none;width:890px;"> <div id="genre_scroller"> <div id="genre_browser">Loading...</div> </div> </td> <td valign="top" style="width:40px"> <a id="nextScroll" href="javascript:scrollNext()"></a></td></tr> </table> <script type="text/javascript"> jQuery('#videoInfo').hide(); jQuery(document).ready(function(){ YAHOO.util.Event.onContentReady("main_menu", YAHOO.example.onMenuBarReady); if(playerId){ var url = '/media/getPlayerInstanceParams?token=' + playerToken; jQuery.getJSON(url, function(response){ adObject.playerPreroll = response.preroll_name; adObject.playerCompanion = response.preroll_companion_names; }); } }); </script> <div style="clear:both"></div> </div> <!-- VIDEO COMMENTS DIV CONTAINER --> <div id="video_comments" class="jqmWindow" style="background-color:#000; width:300px; overflow:hidden"> <div id="vcNested" style="width: 600px;"> <table width="600"> <tr><td id="vcwidget" width="300" height="405"></td><td width="300"> <table> <tr> <td style="color: #FFF"><u>All users</u>: If you have not already done so, Click "Record a Comment" to begin. Next, click "Allow" to use your camera.<br><br> <u>Additional Info for Mac users</u>: If you do not see video (after clicking 'allow'), do the following:<br> <ol> <li> Click on the blue "gear" icon <img src="/web/20130330134745im_/http://videos.mcclatchydc.com/images/gear4.gif" align="absmiddle"/> in the lower right corner to bring up the settings window. </li> <li> Click on the webcam icon. <img src="/web/20130330134745im_/http://videos.mcclatchydc.com/images/ico.webcam.gif" align="absmiddle"/> </li> <li> If you are using a built in iSight camera, choose USB Video Class Video from the pulldown menu. You should see video immediately.<br/><br/> <img src="/web/20130330134745im_/http://videos.mcclatchydc.com/images/img.webcam_usb_menu.jpg"/> </li> <li>Click "close" button.</li> <li>Record! You must record at least ten seconds before you can stop.</li> </ol> </td> </tr></table> </td> </tr> </table> </div> </div> <div id="videoDescriptionExpanded"> </div> <div id="thumbScrollerStatus" style="background:url(/web/20130330134745im_/http://videos.mcclatchydc.com/images/transparent.gif);display:none;top:495px;left:60px;width:895px;height:145px;position:absolute;"> </div> <div class="clear"></div> </div> <!-- end content --> <div id="footer"> <a href="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/upload" onclick="check_upload_login('https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/upload'); return false">Submit Your Own Media</a> | <a href="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/faq">FAQ</a> | <a href="https://web.archive.org/web/20130330134745/http://videos.mcclatchydc.com/vmix_hosted_apps/p/support">Request Support</a> </div> <div class="clear"></div> </div> <!-- end wrapper --> <script> jQuery(document).ready(function(){ jQuery('#footer a:eq(0)').hide(); var footer_str = jQuery('#footer').html(); var stripped_footer = footer_str.replace(/\|/g, ''); jQuery('#footer').html(stripped_footer); jQuery('#footer a:eq(1)').after(' | '); }); </script> </body> </html> <!-- FILE ARCHIVED ON 13:47:45 Mar 30, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:56:58 Dec 04, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 1.0 exclusion.robots: 0.044 exclusion.robots.policy: 0.026 esindex: 0.016 cdx.remote: 21.641 LoadShardBlock: 88.557 (3) PetaboxLoader3.datanode: 144.425 (5) load_resource: 5679.122 (2) PetaboxLoader3.resolve: 5547.181 (2) -->