আপনার সাইটে কীভাবে ভিডিও, ছবি, টুইট এবং অন্যান্য বিষয়বস্তু যোগ ও এম্বেড করবেন

লিখেছেন

মধ্যে

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.

পার্মালিঙ্কগুলোর অনেক আকার ও রূপ থাকে, তবে সাধারণত সেগুলো নিচের মতো দেখায়। এটি ইউটিউব থেকে নেওয়া হয়েছে:

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

কনটেন্ট এম্বেড করার জন্য আপনি এই ইউআরএলগুলো কনটেন্ট এডিটরে পেস্ট করতে পারেন। এটি যদি এম্বেড করার যোগ্য হয়, তবে আপনি দেখতে পাবেন যে ইউআরএলটি আসল ভিডিও বা কনটেন্টে রূপান্তরিত হয়েছে। যদি তা না হয়, তবে তার মানে হলো আপনি সেই সাইট থেকে কনটেন্ট সন্নিবেশ করতে পারবেন না।

আমি আমার সাইটে কোন সাইটগুলো এম্বেড করতে পারি?

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 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-এর মাধ্যমে, আপনার সাইটের সামনের যেকোনো অংশে কেবল পার্মালিঙ্ক বা আইফ্রেম এম্বেড কোড পেস্ট করলেই তা সাথে সাথে এম্বেড করা কনটেন্টে রূপান্তরিত হবে, কোনো ট্যাবে পেস্ট করতে হবে তা নিয়ে আর মাথা ঘামাতে হবে না।

এখনই Page Builder Sandwich পান।