CONVERGE STUDENT WEBINAR SERIES
Interact with Amit Nihalani
Amit has completed his undergraduate studies from Sinhgad College of Engineering in Information Technology and his Masters degree from University of Buffalo in Computer Science. He had worked in Accenture as a Software Engineering Analyst for 26 months in Mumbai before he pursued his Masters degree. After his Masters, he had interned at Conductor, Inc as a Software Engineer. He has been working at Okta, Inc for 27 months and recently has got promoted to the position of a Senior Software Engineer.
function initFacebook(){ $('[data-widget-type="fbcomments"]').each(function(index, el) { var element = $('#'+$(this).attr('data-widget-target')); $('.fb-comments').attr('data-href', element.attr('data-url')); (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.8&appId="+element.attr('data-appid'); fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); }); } function initVideo(){ $('[data-widget-type="videoshare"]').each(function(index, el) { $(this).css('visibility','visible'); var element = $(this).attr('data-widget-target'); var src = $(this).attr('data-url'); var autostart = $(this).attr('data-autostart'); var player = $(this).attr('data-player'); autostart = (autostart === 'true'); var $container = $(this); var playerOptions = { controls: true, autoplay: autostart, fluid: true, sources: [{ src: src, }], };
if (player === 'youtube') { playerOptions.techOrder = ['youtube']; playerOptions.sources[0].type = 'video/youtube'; }
videojs(element, playerOptions).ready(function() { setTimeout(function(){ $container.css('min-height', ''); $container.css('max-height', ''); }, 500); }); }); } $(document).on('click', '#js-videolist-media', function () { $(this).parent('form').submit(); }); $(document).ready(function() { initFacebook(); initVideo(); $formRules = { }; $('form input[type="text"]').each(function () { $formRules[$(this).attr('name')] = { required: true, }; }); // form validation $('form').validate({ // initialize the plugin // errorElement: 'div', errorClass: 'validation-error', rules: $formRules, }); });