0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Embed YouTube videos on webpages without worrying about loadtime

Last updated at Posted at 2018-07-06
  1. Paste the DIV codes on your website, where the video should appear to the users.

EX: Untitled.jpg

(Don't forget to change your video ID)

  1. Place the JavaScript given in the reference image.

jRmFnQ.jpg

  1. Place the CSS before the close of tag.
    LpPDRw.jpg

By doing this you can reduce the load of web pages.

Check The Reference For Complete Step By Step Process: https://codepen.io/Christaelrod/post/embed-youtube-videos-on-webpages-without-worrying-about-loadtime

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?