Read Time:46 Second
EPS 95 PENSION HIKE RECOMMENDATION IN 229th CBT MEETING: CBT की 229वीं बैठक EPS 95 PENSION HIKE
<!–1. The (video player) will replace this
tag.–> // 2. This code loads the IFrame Player API code asynchronously. var tag = document.createElement(‘script’); tag.src = “https://www.youtube.com/iframe_api”; var firstScriptTag = document.getElementsByTagName(‘script’)[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); // 3. This function creates an (and YouTube player) // after the API code downloads. var player; function onYouTubeIframeAPIReady() { player = new YT.Player(‘player’, { width: ‘100%’, videoId: ‘Zkwti24ENuI’, playerVars: { ‘autoplay’: 1, ‘playsinline’: 1 }, events: { ‘onReady’: onPlayerReady } }); } // 4. The API will call this function when the video player is ready. function onPlayerReady(event) { event.target.mute(); event.target.playVideo(); } /* Make the youtube video responsive */ .iframe-container{ position: relative; width: 100%; padding-bottom: 56.25%; height: 0; } .iframe-container iframe{ position: absolute; top:0; left: 0; width: 100%; height: 100%; }
Source link
Source link