अपनी साइट में वीडियो, चित्र, ट्वीट और अन्य सामग्री कैसे जोड़ें और एम्बेड करें

द्वारा लिखित

में

How-to-Add-and-Embed-Videos-Images-Tweets-and-Other-Content-in-Your-SiteThere may be times where you want to add supporting videos from YouTube or Vimeo into your site. Or maybe you want to add Tweets from Twitter, or content from other websites like Flickr and Instagram. You can embed these content easily in your WordPress site.

To do this, all you need to do is find the permalink for the content. In some sites like YouTube, the permalink is simply the current URL. For other sites like Reddit or Vimeo, you’ll have to find the “permalink”, “share” or “embed” button to get the URL. In some sites like Facebook, you’ll have to click the date of the status or post in order to get the permalink.

पर्मालिंक कई रूपों और आकारों में होते हैं, लेकिन आमतौर पर वे नीचे दिए गए रूप जैसे दिखते हैं। यह यूट्यूब (YouTube) से है:

https://www.youtube.com/watch?v=dQw4w9WgXcQ​

सामग्री को एम्बेड करने के लिए आप इन URL को सामग्री संपादक में पेस्ट कर सकते हैं। यदि यह एम्बेड करने योग्य है, तो आप देखेंगे कि URL वास्तविक वीडियो या सामग्री में परिवर्तित हो जाएगा। यदि ऐसा नहीं होता है, तो इसका मतलब है कि आप उस साइट से सामग्री सम्मिलित नहीं कर सकते हैं।

मैं अपनी साइट में कौन सी साइटें एम्बेड कर सकता हूँ?

Not all sites can be embedded into your WordPress site. The WordPress Codex has a list of sites which you can embed: https://codex.wordpress.org/Embeds

प्लगइन्स इंस्टॉल करने से अधिक एम्बेड करने योग्य साइटें जोड़ी जा सकती हैं

If the content you want to embed isn’t in the list in the WordPress Codex, there is another way. Installing plugins can add more embeddable sites. For example, installing Jetpack allows you to embed wall posts from Facebook.

There are plenty more out there that add more sites, do a search for “oEmbed provider” in the WordPress.org plugin repository to find more. Here’s a link to the plugin repo for your convenience: https://wordpress.org/plugins/search.php?type=term&q=oembed+provider

सामग्री जोड़ने का एक अन्य तरीका – Iframe एम्बेड कोड

यदि केवल URL पेस्ट करने से काम नहीं बनता है, तो सामग्री को एम्बेड करने का एक और तरीका भी है। जिस साइट को आप शामिल करना चाहते हैं, उसके शेयरिंग विकल्पों की जाँच करें, पर्मालिंक के अलावा, आपको “एम्बेड कोड” का एक छोटा हिस्सा भी दिया जा सकता है। एम्बेड कोड इस प्रकार दिखते हैं:

<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>​

Copy that then in your WordPress content editor, click on the text tab on the top of the editor and paste that in. After you’ve pasted that in, head back to the visual tab, you’ll see if it works when the embed code now looks like the actual content that will get embedded. You can’t do this in the visual tab, pasting it from there would just show the pasted code in your site, it won’t get converted into the content.

फ़्रंटएंड से अन्य साइटों की सामग्री जोड़ने के लिए Page Builder Sandwich का उपयोग करें

While adding content from other sites seem easy, doing things in the administration side of WordPress is a bit of a hassle. You have to know whether to add it in the visual tab or text tab, and you’ll have to preview your page or post in order to see how it would look like when viewed by your site’s visitors.

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

Page Builder Sandwich के साथ, बस अपनी साइट के फ़्रंटएंड पर कहीं भी पर्मालिंक या iframe एम्बेड कोड पेस्ट करें और यह तुरंत एम्बेड की गई सामग्री में परिवर्तित हो जाएगा, अब यह जानने की आवश्यकता नहीं है कि आपको सामग्री किस टैब में पेस्ट करनी होगी।

पेज बिल्डर सैंडविच अभी प्राप्त करें।