One of the posts on my previous blog said the community likes Flowplayer (http://flowplayer.org), and that was the player that looked good to me. To embed a video using Flowplayer in a widget, I did the following:
And if you create a static page you can drop this exact code into the body and it will create the player there. You could also (with cms html permission) put it in an article.
I hope I've made my point now. If you have a video player you like and you know how to put that on an html page, it's trivial to put it in a static page or a widget.
The code for the example is copied straight from the Flowplayer example, edited for the path and to ensure a unique player name
Code:
- Download the open-source player.
- Create a folder /flowplayer under my installation home
- Put flowplayer.swf, flowplayer.controls-3.2.1.swf, and flowplayer-3.2.2.min.js in this folder
- Create a static html widget and call it "Flowplayer Test".
- Paste in the code below and save.
- Drop the new widget into a layout.
And if you create a static page you can drop this exact code into the body and it will create the player there. You could also (with cms html permission) put it in an article.
I hope I've made my point now. If you have a video player you like and you know how to put that on an html page, it's trivial to put it in a static page or a widget.
The code for the example is copied straight from the Flowplayer example, edited for the path and to ensure a unique player name
Code:
Continue Reading...