Embedding a Video in the Body of a Page
1. Upload your MP4 file to the file manager. You will also want to upload a poster image at the same time. This will be the image that displays before user clicks to play the video.
2. In the body section of your page, add the tag below:{soHTML5Video(movieFile=/uploads/video.mp4, poster=/uploads/graphic.jpg, height=240, width=320, options=controls preload)}
You can copy and paste the tag above but be sure to change the image path
Expanded:
Within the tag you can change the following options:
- movieFile (file path to the MP4 video) Noted in red
- poster (file path to the poster image shown before the video) Noted in red
- height (height of player in pixels)
- width (width of player in pixels)
Once you change the parameters within the tag, your video should play within the page. And if you don't have a poster graphic, you can change the "controls preload" to "autoplay", for the video to start immediately.