In this article, we explain about uploading a video to a video sharing website, getting ID of a video and displaying a video by a Video widget in Jupiter WordPress theme.
Uploading a Video
For using Video widget, at first you need to upload your video to one of the mentioned video sharing websites then display it in your website. If you are not familiar with the upload process, read following articles.
Finding ID of a Video
After uploading a video, we need to find ID of a video to use it in the Video widget.
To get ID of a video:
YouTube: Copy the string after https://youtube.com/watch?v=…
Vimeo: Copy the string after https://vimeo.com/…
Dailymotion: Copy the string after http://dailymotion.com/video/…
Viddler: Copy the string after http://www.viddler.com/v/…
Displaying the Video
After finding the ID of a video, you need to add JP – Video widget to a widget area / sidebar then configure its settings.
To add the widget:
|Title||Displays a title at the top of the widget. If empty, it shows nothing at the top of the video.
|Type||Select the video sharing website to which you have uploaded your video (YouTube, Vimeo, Dailymotion and Viddler).
|Clip ID||Defines the ID of the video.
|Width||Defines the video width. There is no need to add the px in the setting field.