How to add a YouTube or Vimeo video to a Shogun page
To add a video to a page only requires a few simple steps. We offer the ability to embed YouTube and Vimeo videos, right into your pages! Simply drag the Video Element onto your page to get started! This can be great to show off your product videos.
The most important first step will be to add your video URL into the Video URL field that is offered in the right hand menu of the editor. It's best to take this right from the browser, as the 'https' part of the URL is quite important!
You can see the video rendered in your page, but at the moment, this will not play inside of the editor. Fear not, this will still play on the live page!
Setting the aspect ratio of your video
We currently offer two options for setting the aspect ratio of your Video element, 16 x 9 and 4 x 3. What's the difference?
What you set this to really depends on the aspect ratio of your video at the point of upload - you would ideally set this to match so that the video does not look stretched. 16 x 9 generally refers to widescreen content, whereas 4 x 3 is generally smaller, given that the width of the video would be 33% wider than it is high.
Looping your video
Looping your video can create a great affect if you are looking to use this as a background, it create a very attractive feature of your site that grabs attention of the visitor.
Setting your video to autoplay
Autoplaying your video when a visitor enters your page can be a great way of showcasing your products. The 'autoplay' option can be turned on on the Shogun Video Element to allow you to do just that! It's that simple.
Please note that some browsers have policies in place surrounding autoplaying, if you video is not autoplaying, please refer to our article Why Won't My Video Autoplay for more information.
Muting the audio of your video by default
Sometimes it's useful to mute the audio of your video, this feature does just that. This feature will automatically get toggled when you turn on Autoplay on a video, to help comply with some browser policies surrounding autoplaying.
Setting start and end times
Sometimes not every part of a video is relevant to what you are showcasing. Want to show off your product in part of a video? You can! You can set custom start and end times right in the Shogun editor.
Showing related videos
As part of the services that you can use in order to embed your videos into your pages, these services give an option to display related videos at the end of your video. This can sometimes be distracting for visitors as it can sometimes lead you away from your store. You can choose to show or hide these.
Hiding video controls
While not currently an option within the Video element, a workaround would be to make use of the Section Element where you can set a video as a background which removes the controls.