Streaming Video via Joomla but allowing No leechers!

AddThis Social Bookmark Button
Got into a brief EMail discussion with a WebMaster from an ISD asking about streaming video from a Joomla site.

One issue concerning links to videos that you have internally (be it on the Joomla server itself and or coming from an internal streaming server) ... for that matter anywhere is bandwidth, ie, how much of your data pipe is eaten up by video's.

Video's you intend to be consumed by your students and staff is one thing, but when a "leecher" links and you've not restricted how the video may be accessed then your digital content headed to some "leecher" might be taking up much of your data pipe.

Two Joomla bots will help you control not only who but how and where to find your digital content ... be it local joomla server, streaming server onsight/offsite, or even on free services like YouTube.  

One bot is called "mosif".  Uses conditional statements that either shows or hides the contents/links.

The other, for playing the movies, is called All-In-One.

This article will talk about mosif ONLY.

From the "readme" of mosif bot itself:

MosIf is a mambot that makes it possible to show content based on certain conditions. It is suited for limiting access to parts of the page to certain users or user groups, or from certain IP addresses. For example you can enclose content in mosIf tags and limit the content to your own IP address; then you can work on the page and test the content knowing that only you can see it. You can also test cookie values and show content based on those values. This makes it easy to implement a simple multi-language site, or you can show prices with or without VAT etc.

MosIf accepts wildcards * and ? which makes it extremely versatile.

MosIf currently supports the following conditions: user name, user type, user group, frontend language, ip address and cookie values.

Usage:

{ mosif <parameter><operator><list> } some content { else } other content { endif }

<parameter>: username | usergroup | usertype | ip | language | cookie_<name>
<operator>: = | !=
<list>: text[,text]

Wildcards (*,?) are allowed. ? = any one character, * = any number of characters

Apropriate values for:

username  : any name like john, batman, wilddog etc.

usergroup : public, registered, special

usertype  : registered, author, editor, publisher, manager, administrator, super administrator

ip        : 127.0.0.1, 212.230.221.7 etc.

language  : en, da, no, it etc.

cookie_<name> : any cookie name

Example:
If you are logged on to this site, you will see something just below the secret message for ...
{mosif usergroup=registered} registered users can see hidden stuff {endif}
if not, you see nothing and only this.

In our example of digital movies and preventing "leecher" from seeing the links, this is how one would use MOSIF ...

{ mosif ip=192.168.1.* }

{ mgmediabot2 } path=mp3/joomla_adding_content.flv|popup=Click Here to Play|width=900|height=900 { / mgmediabot2 }

{ endif }


Explained:
{ mosif ip=192.168.1.* } = any IP addresses that came from  the range shown can see the mgmediabot 2 link.  The range would be your network range.

the link/path to the video (of course) ... notice that could be a path or link

and the closing endif tag.

MOSIF link: http://www.kreacom.dk/joomla/ (slow link)




RSS

1/31/12, Maybe the... »»
1/4/12, Free... »»
1/4/12, Free... »»
12/11/11, OwnCloud... »»
11/10/11, Reduce... »»

AllVideos HELP!

TCEA Community

TCEA Community

BigBlueButton Conferencing

Meeting
Name
Password

Statistics

Members : 9
Content : 458
Web Links : 197
Content View Hits : 567926

Who's Online

We have 6 guests online

SOS Moodle