I created the HM Tube Joomla plugin to play YouTube videos using the JW player, and its customizations and skins. The plugin has evolved, however, to play all the formats that the JW player can play. Available formats are listed below in the Feature section. There are plenty of modules in the JED that use JW player but not many, if any, plugins that allow you to place the video anywhere in your articles. Therefore, because I needed such a plugin, I have created HM Tube, and decided to share it with the Joomla community.
Features:
- Add Tube video to your article.
- Can play all of the following formats:
Video Formats: H.264 (.mp4, .mov, .f4v), FLV (.flv), 3GPP (.3gp, .3g2), YouTube
Sound Formats: AAC (.aac, .m4a), MP3 (.mp3)
Image Formats: JPEG (.jpg), PNG (.png), GIF (.gif)
- Use the JW player and it's many version 2 skins.
- Stream live video with JW player's RTMP support.
- Customize the width and height of the player.
- Position the control bar to top, bottom, or over the video.
- Hide the control bar when idle.
- You can choose to auto start the video on page load or not.
- Choose to enable HD video if applicable.
- Ability to choose which type of stretching, if any, is applied to the video to fit your player.
Installation:
- Download from http://www.hypermodern.org/index.php/hm-tube
- Install like any other Joomla plugin. Refer too http://docs.joomla.org/Installing_an_extension if you need help.
Usage:
[hmyt tag1="value" tag2="value" tag3="value"]video[/hmyt]
Where tag[x] equals one of the below available tags, value equals the intended value, and video is the url location of the video.
Available Tags:
| Tags | Example Values | More Information |
|---|---|---|
| hd | true or false | Play youtube in HD if available |
| width | 600 | |
| height | 400 | |
| skin | slim, or any of the other skins | Slim Minima Bekle Beelden Dark Sunset fs40 Glow Kleur LuLu Snelt Nemesis Nacht Modieus |
| controlbar | bottom, top, over, or hide | where to position the controlbar |
| controlbarhide | true or false | hide the control bar unless mouseover. |
| autostart | true or false | start the video when the page loads? |
| stretching | uniform, exactfit, fill, none | i never use this |
| noparse | true or false | only for development |
| style | 1 or 2 or 3 or 4 or 5 or 6 | 1. center the video 2. Right With Text Wrap 3. Left With Text Wrap 4. Right No Text Wrap 5. Left No Text Wrap 6. No CSS (turns off CSS) |
| margins | 0px or 5px 5px 5px 5px | shorthand css |
| padding | 0px or 5px 5px 5px 5px | shorthand css |
| background | #000 or #000000 | |
| border | 0px or 5px 5px 5px 5px | shorthand css |
| bordercolor | #000 or #000000 |
Example:
[hmyt padding="5px" margin ="5px" noparse="true"]http://www.youtube.com/watch?v=sxku0EpqzKI[/hmyt]

