There 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.
အမြဲတမ်းလင့်ခ်များ (Permalinks) သည် ပုံစံအမျိုးမျိုးရှိသော်လည်း အများအားဖြင့် အောက်ပါအတိုင်းသာ ဖြစ်ကြသည်။ ဤတစ်ခုမှာ YouTube မှ ဖြစ်သည်-
https://www.youtube.com/watch?v=dQw4w9WgXcQ
အကြောင်းအရာကို ထည့်သွင်း (embed) ရန် ဤ URL များကို content editor တွင် ကူးထည့်နိုင်ပါသည်။ အကယ်၍ ထည့်သွင်းနိုင်ပါက URL သည် မူရင်းဗီဒီယို သို့မဟုတ် အကြောင်းအရာအဖြစ် ပြောင်းလဲသွားသည်ကို တွေ့ရပါမည်။ မပြောင်းလဲပါက ထိုဆိုဒ်မှ အကြောင်းအရာကို သင်ထည့်သွင်း၍ မရနိုင်ဟု ဆိုလိုပါသည်။
ကျွန်ုပ်၏ဆိုဒ်တွင် မည်သည့်ဆိုဒ်များကို ထည့်သွင်း (embed) နိုင်သနည်း။
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 Embed ကုဒ်များ
URL သက်သက်ကို ကူးထည့်ရုံဖြင့် အဆင်မပြေပါက အကြောင်းအရာကို ထည့်သွင်းရန် နောက်ထပ်နည်းလမ်းတစ်ခု ရှိပါသေးသည်။ သင်ထည့်သွင်းလိုသော ဆိုဒ်၏ မျှဝေခြင်းရွေးချယ်စရာများ (sharing options) ကို စစ်ဆေးကြည့်ပါ၊ အမြဲတမ်းလင့်ခ် (permalink) အပြင် သင့်အား “embed code” အတိုလေးတစ်ခုလည်း ပေးထားနိုင်ပါသည်။ Embed ကုဒ်များသည် ဤကဲ့သို့ ဖြစ်သည်-
<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.
Frontend မှ အခြားဆိုဒ်များမှ အကြောင်းအရာများကို ထည့်သွင်းရန် 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 သည် သင့်ဆိုဒ်အစစ်အမှန်ကို frontend မှ အားလုံးတည်းဖြတ်ခွင့်ပြုခြင်းဖြင့် အရာရာကို ပိုမိုလွယ်ကူစေသည်။ Page Builder Sandwich ကို အသုံးပြုသည့်အခါ သင့်ဆိုဒ်၏ အကြောင်းအရာများကို လွယ်ကူစွာ ရေးသားတည်းဖြတ်နိုင်ပါသည်။ အခြားဆိုဒ်များမှ အကြောင်းအရာများကို ထည့်သွင်းခြင်းသည်လည်း များစွာ ပိုမိုလွယ်ကူပါသည်။
Page Builder Sandwich ဖြင့် permalink သို့မဟုတ် iframe embed code တစ်ခုခုကို သင့်ဆိုဒ်၏ ရှေ့မျက်နှာပြင် မည်သည့်နေရာတွင်မဆို ကူးထည့်လိုက်ရုံဖြင့် ထည့်သွင်းထားသော အကြောင်းအရာအဖြစ် ချက်ချင်းပြောင်းလဲသွားမည်ဖြစ်ပြီး မည်သည့် tab တွင် ကူးထည့်ရမည်ကို သိရှိရန် မလိုအပ်တော့ပါ။