What tutorial do you want for the next article! Request Here!

How To Add Autoplay YouTube Videos on Blogger Article

ऑटोप्ले एम्बेड कोड के साथ ब्लॉगर वेबसाइट पर अपना यूट्यूब वीडियो जोड़ने के लिए इन चरणों का पालन करें।
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
Blogger Post Mein YouTube Video Ko Kaise Lagaye?

जय हिंद दोस्तों, आज हम इस आर्टिकल में सीखेंगे कैसे किसी भी यूट्यूब वीडियो को आर्टिकल में एड करते है।आप सभी तो जानते ही होंगे कि हम यूट्यूब पर चैनल बनाकर पैसे भी कमा सकते हैं। उसी प्रकार अगर हमारे पास एक ब्लॉग भी है तो हम अपनी यूट्यूब वीडियो से अपने ब्लॉग पर ट्रैफिक और ब्लॉक से वीडियो पर व्यू और Earning को भी बढ़ा सकते हैं।

आज हम जानेंगे कैसे हम अपने यूट्यूब वीडियो को या फिर किसी और की वीडियो को कैसी अपने आर्टिकल में लगाएं। चलिए जानते हैं यूट्यूब वीडियो ऐड करने के लिए हमें किन-किन कदमों को उठाना चाहिए। सबसे पहले हमें वीडियो ऐड करने के लिए एक एंबेड (Embed) कोड की जरूरत पड़ेगी।

YouTube Video Ka Html Embed Code Kaise Copy Kare?

सबसे पहले आपको ब्राउज़र को ओपन करके YouTube साइट को ओपन कर लेना। अगर आप स्मार्ट फोन यूज कर रहे हैं तो आपको डेक्सटॉप मोड में वेबसाइट को ओपन कर लेना है। उसके बाद आप जिस किसी भी वीडियो को अपनी पोस्ट में add करना चाहते है। उस वीडियो को ओपन कर लेना है आपको इस वीडियो के नीचे शेयर ऑप्शन मिल जाएगा। शेयर बटन पर क्लिक करने पर आपके सामने तीन ऑप्शन आ जाएंगे। यहां आपको एंबेड ऑप्शन पर क्लिक कर देना है इसके बाद आपके सामने एक HTML कोड आ जाएगा। इस कोड को कॉपी करके हमें अपनी पोस्ट के एचटीएमएल व्यू में ऐसे पेस्ट कर देने।

वीडियो को अपने हिसाब से लगाने के लिए आपको एंबेड ऑप्शन के वह show more का ऑप्शन मिल जाता है। Show more ऑप्शन पर क्लिक करने पर आपके सामने कुछ और विकल्प आ जाते हैं।

Start At: इस विकल्प की सहायता से आप वीडियो को जहां से दिखाना चाहते हैं उसके लिए टाइम लगा सकते है।

Show Player Control: इस ऑप्शन को चालू करने पर विजिटर्स को विडियो में Play, Pause, Forward, Background, Full-screen के ऑप्शन देखने को मिल जाते है।

Enable privacy-enhanced mode: इस ऑप्शन को चालू करने पर यूट्यूब viwers को तब तक नहीं पहचानेगा जब तक viwer वीडियो को play नहीं करता। GDPR पॉलिसी को इंक्रीज करने के लिए एड किया है।

Video Size: इस विकल्प की सहायता से आप यह निर्धारित कर सकते हैं कि आप अपने पोस्ट में किस साइज का वीडियो रखना चाहते हैं।

कस्टमाइज करने के बाद आप कोड को कॉपी करके रख लेना है।

YouTube Video Kaise Embed Kare Blog Post or Article Mein?

अब हमें सबसे पहले अपने पोस्ट को ओपन कर लेना है फिर हमें अपने पोस्ट व्यू को Html व्यू में खोल लेना है क्योंकि जो कोड हमारे पास है वह एचटीएमएल कोड है। इसके बाद आप वीडियो को आपके अनुसार आर्टिकल में जहां लगाना चाहते हैं उस जगह पर इस कोर्ट को पेस्ट कर दें। 

Widget Menu Mein Video Kaise Add Kare?

अगर आप वीडियो को widget मैन्यू मैं ऐड करना चाहते हैं। इसके लिए आपको ब्लॉगर टेम्पलेट के लेआउट सेक्शन पर जाकर एड गैजेट पर क्लिक कर के Html/Java Script को एड करके कोड को पेस्ट कर देना है और लेआउट को save करने पर आपका वीडियो widget में देखने लगेगा। 

Video Mein Autoplay Option Kaise Lagaye?

YouTube Embed स्क्रिप्ट में ऑटोप्ले का ऑप्शंस नहीं दिया गया है। आप वीडियो को Autoplay करना चाहते हैं? तो उसके लिए आपको कोड में कुछ कस्टमाइजेशन करना पड़ेगा। आपको वीडियो id के आगे नीचे दिए कोड को एड करना होगा। या फिर आप हमारे द्वारा दिए गए कोड को भी कॉपी कर सकते हैं।

Add Code After Your Video Id-?autoplay=1&mute=1

<iframe id=”iframeID” width=”560″ height=”315″ src=”https://www.youtube.com/embed/Yourvideoid?autoplay=1&mute=1” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

Mobile Mode Mein Autoplay Kaise Lagaye?

ऊपर दी गई स्क्रिप्ट की मदद से आप बस कंप्यूटर में ऑटोप्ले सेट कर सकते हैं। लेकिन अगर आप मोबाइल में भी ऑटोप्ले सेट करना चाहते है। इसके लिए आपको नीचे दी गई स्क्रिप्ट को एचटीएमएल व्यू में एड करना होगा और वीडियो आईडी की जगह आपकी वीडियो आईडी ऐड करनी होगी। कृपया मार्क की गई id को आपके यूट्यूब वीडियो आईडी से बदले।

<!-- 1. The <iframe> (video player) will replace this <div> tag. -->
<div class="iframe-container">
<div id="player"></div>
</div>
<script>
// 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 <iframe> (and YouTube player)
// after the API code downloads.
var player;
function onYouTubeIframeAPIReady() {
player = new YT.Player('player', {
width: '100%',
videoId: 'YOUR_VIDEO_ID',
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();
}
</script>

<style>
/* 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%;
}
</style>

इस प्वाइंट तक आपका YouTube वीडियो पूरी तरह से एड हो गया है, यदि आपने सभी चरणों का सही ढंग से पालन किया हैं, तो हम गारंटी दे सकते हैं कि YouTube वीडियो ठीक से चलेगा। कृपया अपने ब्लॉग पर यूट्यूब प्ले बटन पर क्लिक करके इसका परीक्षण करें। यदि आपके मन में ऐसे प्रश्न या अनुभाग हैं जो समाज नहीं आए हो, तो कृपया दिए गए कमेंट कॉलम के माध्यम से प्रश्न लिखें।

Read also:

About the Author

Hey there! My name is Sandeep Kumar aka Sandy, a professional Web Designer, Graphic Designer, UI / UX Designer as well as Content Creator from Rajasthan, India. I love to Code and create interesting things while playing with it.

Buy me a Coffee

إرسال تعليق

To avoid SPAM comments, all comments will be moderated before being displayed.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.