var im_videos = [{"white_list":"off","block_list":"off","next_ad_video_number":0,"next_ad_deliveryKey":false,"video_player":"html","company_id":"1115113","on_off":"off","ip_add":"off","ad_url":"","enable_vast":"off","enable_ads":"N","logo_enable":"N","logo_path":null,"logo_click_path":null,"root_vpaid_id":"0","share_video":"1","plan_code":"custom","overage":0,"id":"1720423013","created_by":"7188","created_at":"2017-03-08 13:36:09","updated_by":"7188","updated_at":"2017-03-13 10:04:30","counter":"0","sequence_key":"10","sort_number":"0","status":"A","swf_id":null,"video_number":"1640965740","size":"0","width":"640","height":"360","frame_height":"360","frame_width":"640","length":"53","upload_at":"2017-03-08 13:36:09","shoot_date":null,"video_exp":null,"talent_exp":null,"video_type":"OS","position":"BR","no_play_for":"0","back_dim":"50","back_color":"000000","border":"N","border_color":"ffffff","new_window":"N","close_at_end":"Y","restricted":"N","checked":"N","allow_download":"N","served_from":"*","playback_extension":"*","nav_control":"fade","play_control":"auto","delay_time":"0.000","video_title":"Meet Dr. Liu - Fairfax Oral Surgery","prod_title":null,"start_asset":"http:\/\/www.oculu.com\/im4\/start\/1640965740.jpg","end_asset":"http:\/\/www.oculu.com\/im4\/end\/1640965740.jpg","click_path":"","description":"","thumbnail":"http:\/\/www.oculu.com\/im4\/thumbnail\/000.png","thumbnail_width":"128","thumbnail_height":"72","track_path":"","nav_bar_control":"N","nav_bar_color":"000000","video_key":"bb7184d0bd1563dd90a40096b59df918","delivery_key":"bb7184d0bd1563dd90a40096b59df918","share_title":"","share_description":"","share_headline":null,"share_background":null,"share_thumbnail":null,"share_social_buttons":"","share_nav_bar_color":"e85b56","syndication":"N","share_logo":"Y","total_size":"13893219","upload_id":"1000067574","product_id":"1000066335","talent_id":null,"preview":"A","ec_size":"0","play_size":"360","autoplay_lb":"false","encode_flv":"1","lb_image":"","lb_transition":"900","lb_auto_close":"1","full_screen":"0","folder":"0","Dupload":null,"FrameW":"640","FrameH":"360","EP_width":"640","EP_height":"360","download":"0","expiration_date":"undefined","dedicated":"0","cloud_server":"AWS","post_id":"0","auto_play":"0","cleaned_frames":"0","is_360":"0","is_in_dynamo":"1","ad_mute":"0","mute":"0","repeat":"false","responsive":"1","mobile_player":"0","vpaid_id":"0","company_number":"1620147066","encodes":"mp4_360 mp4_720 ","video_vpaid_ad":"","playlist_skin":1}]; var IM_SERVER_NAME = "//player.oculu.com/im4/"; var protocol = document.location.protocol; var OCULU_ASSET_LOCATION = IM_SERVER_NAME; // im_loadjscssfile(OCULU_ASSET_LOCATION+'im_lightbox.css','css'); im_loadjscssfile(OCULU_ASSET_LOCATION+'video_player-html5.css','css'); im_loadjscssfile(OCULU_ASSET_LOCATION+'plugins/panellum/css/pannellum.css','css'); im_loadjscssfile(OCULU_ASSET_LOCATION+'plugins/panellum/js/pannellum.js','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'plugins/panellum/js/libpannellum.js','js'); im_loadjscssfile('//imasdk.googleapis.com/js/sdkloader/ima3.js','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'swfobject.js?1511441489','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_engine.min.js?1511441489','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_overlay.min.js?1511441489','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_lightbox.min.js?1511441489','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'video_player-html5.min.js?1511441489','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'video_player-html5.LR.js?1511441489','js'); function im_loadjscssfile(filename, filetype){ if (filetype=="js"){ //if filename is a external JavaScript file var fileref=document.createElement('script') fileref.setAttribute("type","text/javascript") fileref.setAttribute("src", filename) } else if (filetype=="css"){ //if filename is an external CSS file var fileref=document.createElement("link") fileref.setAttribute("rel", "stylesheet") fileref.setAttribute("type", "text/css") fileref.setAttribute("href", filename) } if (typeof fileref!="undefined") document.getElementsByTagName("head")[0].appendChild(fileref) } function im_is_ready( options ) { if( typeof im_done != 'undefined' ) { im_auto_ep( options ); } else { setTimeout( 'im_is_ready( ' + JSON.stringify(options) + ' )', 100 ); } } im_is_ready( { video_id: 1640965740 });