Hướng Dẫn Đăng Youtube Video Lên Một Post

  1. Mở Youtute video cần đăng
  2. Click Share > Embeded
  3. Copy đoạn code từ <iframe ….. đến </iframe>
    Ví dụ: <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/nVohFRyGUws” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=””></iframe>
  4. Add a new post
  5. Paste đoạn code vào post
  6. Dùng code <center></center> để canh giữa đoạn video
    Ví dụ: <center><iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/nVohFRyGUws” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=””></iframe></center>
  7. Chỉnh width và height cho đoạn video bằng cách thay số cho đoạn code.
    Ví dụ: <iframe width=”600” height=”350” src=”https://www.youtube.com/embed/nVohFRyGUws” frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=””></iframe>
  8. Update.

Comments are closed.