var im_videos = [{"white_list":"off","block_list":"off","next_ad_video_number":0,"next_ad_deliveryKey":false,"video_player":"html","company_id":"1118114","on_off":"off","ip_add":"off","ad_url":"https:\/\/pubads.g.doubleclick.net\/gampad\/ads?iu=\/21724765933\/wrga_video_preroll&description_url=[DESCRIPTION_URL]&env=vp&impl=s&correlator=[CACHE_BUSTER]&tfcd=0&npa=0&gdfp_req=1&output=vast&sz=640x480&unviewed_position_start=1","enable_vast":"on","enable_ads":"N","logo_enable":"N","logo_path":null,"logo_click_path":null,"root_vpaid_id":"489","share_video":"1","video_ad_id":"0","plan_code":"premium","overage":0,"comp_status":"I","id":"1720434937","created_by":"10324","created_at":"2022-06-01 09:16:15","updated_by":"10324","updated_at":"2022-06-25 12:42:34","counter":"0","sequence_key":"3","sort_number":"0","status":"A","swf_id":null,"video_number":"1232723862","size":"0","width":"640","height":"360","frame_height":"360","frame_width":"640","length":"69","upload_at":"2022-06-01 09:16:15","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":"Floyd Chamber PFLAG","prod_title":null,"start_asset":"http:\/\/player.oculu.com\/\/im4\/start\/1232723862.png","end_asset":"http:\/\/player.oculu.com\/\/im4\/end\/1232723862.png","click_path":"","description":"","thumbnail":"http:\/\/player.oculu.com\/\/im4\/thumbnail\/1232723862.png","thumbnail_width":"640","thumbnail_height":"360","track_path":"","nav_bar_control":"N","nav_bar_color":"000000","video_key":"9357b46a04cb5c6f340332130597dc4f","delivery_key":"9357b46a04cb5c6f340332130597dc4f","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":"62983474","upload_id":"1000080182","product_id":"1000078260","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":"489","player_skin":"1","company_number":"1955274043","encodes":"mp4_360 mp4_720 ","video_vpaid_ad":"https:\/\/pubads.g.doubleclick.net\/gampad\/ads?iu=\/21724765933\/wrga_video_preroll&description_url=[DESCRIPTION_URL]&env=vp&impl=s&correlator=[CACHE_BUSTER]&tfcd=0&npa=0&gdfp_req=1&output=vast&sz=640x480&unviewed_position_start=1","playlist_skin":1}]; var IM_SERVER_NAME = "https://player.oculu.com/im4/"; var protocol = document.location.protocol; var OCULU_ASSET_LOCATION = IM_SERVER_NAME; // var oc_settings = []; 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('//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css','css'); */ im_loadjscssfile('//imasdk.googleapis.com/js/sdkloader/ima3.js','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'swfobject.js?1731654680','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_engine.js?1731654680','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_overlay.min.js?1731654680','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'im_lightbox.min.js?1731654680','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'video_player-html5.min.js?1731654680','js'); im_loadjscssfile(OCULU_ASSET_LOCATION+'video_player-html5.LR.js?1731654680','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 ); } } function OCPlayVideo(options){ im_is_ready( options ) } oc_settings = { video_id: 1232723862 } im_is_ready(oc_settings );