The InternetVideo

How to insert a video on the WordPress site

Modern site is hard to imagine without video material. The positive effect of having a video on the site can be characterized by several factors:

  • Many visitors prefer watching video instead of reading text. So they understand and are more interesting.
  • The very presence of video on the site sets the visitor to the fact that the site is quality and useful. The visitor lingers longer on such a site.
  • Video is better remembered and encourages visitors to return to your site / blog again.
  • Video content helps increase the conversion of your resource, that is, the visitor's expected actions from him: purchase of goods, subscriptions, registration, phone calls, etc.
  • Search engines are more loyal to sites with video content.
  • Using video to advertise products allows you to increase sales.

Doubts in the use of video content today, no one who is involved in site building and the use of sites / blogs of any purpose. If you want, you can use the video as a tool to promote and market your site, for example, by hiding part of the video using the social lock script , where for further viewing from the user it is required to share the page of your site in social networks.

Sites on WordPress And video content

Websites on WordPress can easily be filled with video from public video sharing sites, for example, with You Tube and Vimeo. The procedures for adding video from these resources are almost identical. There are many WordPress tutorials that tell you how to add videos to your site using plugins, but today we'll figure out how to add a video to the WordPress site without using plug-ins.

Uploading videos from the YouTube website

As an example, we use the video "How to insert a video on a WordPress blog". You can add it to our website in two ways. Consider these:

Method 1.

  • On the console of your site, select the option "Add new" in the "Records" section. We give a new title entry and go to the editor. At the same time, we press the "Text" editor tab, which allows us to enter HTML markup.
  • If necessary, write your own text.
  • We go to the site http://www.youtube.com/ on the page with the video material of interest to us.
  • Under the image of the screen we find the button "Share" and select the tab with the same name ("Share").
  • Copy the address of the file with the video http://youtu.be/_pUo1gj7WQI.
  • We go to the page of the entry and insert the address into the right place.
  • Finish the layout of the page and click the "Publish" button.
  • We go to the site, update it and start the player.

Method 2.

  • We open a new page, write the necessary text, go to the site http://www.youtube.com/ on the page with the video that interests us.
  • Click on the button "Share", and then on the tab "HTML-code".
  • The text of the code is copied in the window that opens.
  • We return to the page of the new record and paste the copied HTML-code into the right place.
  • We finish the recording and publish it.
  • We look at the site after the update received the result.

Adding video from the Vimeo site  

The procedure is the same as when you are using the You Tube site. Only the names of buttons and tabs differ.

Method 1.

  • Having found on a site https://vimeo.com/ the necessary video material, we press on the button "SHARE" in the right top corner of a picture of a roller. This opens an additional window "Share This Video" with three windows: "Link", "Email", "Embed.
  • In the "Link" window, copy the address of the file with the clip.
  • We paste the copied address into the desired place in the record and continue the actions, as well as when adding a video from the site You Tube.

Method 2.

  • It differs from the previous one in that in the additional window "Share This Video" in the window "Embed" we copy the HTML-code, and then paste it on the page of your entry in the right place. Further actions do not change.

Resizing the video window

In WordPress, it is possible to resize the window in which the movie is shown. This is done using Shortcode API, a special feature provided in WordPress, starting with version 2.5. Without going into a detailed description of these very handy tools, let's take a look at the shortcode for our case:

  • For You Tube: [embed width = "640" height = "360"] Link to YouTube video [/ embed]
  • For Vimeo: [embed width = "640" height = "360"] Link to video from Vimeo [/ embed]

Here, width and heigt respectively the width and height of the window to display the movie. Please note: the window size digits are specified in pixels and written in quotation marks. Instead of the phrases "Link to a video from YouTube" or "Link to a video from Vimeo" substitute the link copied on the corresponding site . Links are sort of "packaged" in the API code. Shortcode allows you to adjust the size of the movie window to the design of your site.

If you want to turn to the original source, read the Code Wordpress. In the original, it is set out on the website http://codex.wordpress.org/. This is the complete WordPress documentation. About adding video to your site, changing the size of the video window and the available video hosting for WordPress is described in detail at http://codex.wordpress.org/Embeds/.

Use the video on your site, it will increase its attractiveness. Good luck!

PS: all the examples given are checked on the current site with the version of WordPress 3.7. Always stay tuned for WordPress updates and be updated on time.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.birmiss.com. Theme powered by WordPress.