flowplayer

HTML

<!-- 
I would keep your free videos on youtube, as you get built-in ad support and 100% of revenue, and free bandwidth plus get a lot of hits from casual youtube traffic

paid vids:
no ads
high def (720p)
get the rapidminer process or other code
get the dataset
an extra "advanced" technique at end of each video
exercises
early access to new videos (say a week delay)
transcripts, closed captions (gotta find a provider, try mechturk, odesk, prasanna) $8ish for 15min
free ipad/iphone app? or paid (you can watch free or pay-for vids on it)
"certificate of completion" at the end of a "course" :)
offer courses rather similar to rapid-is :)

free vids:
paid iphone app $1.99
host on youtube
plug to paid vid on youtube/blog
plug to paid vid on free vid
maybe no embedding as get side-by youtube ads

go with paypal micropayments

also offer:
paid webinars
in-person training
consulting / tech support / data analysis
big data hosting
data analysis tools (ajax sc-raper to start)


need to compile cloudfront plugin. use flex sdk:

http://flowplayer.org/plugins/streaming/cloudfront/index.html

http://code.google.com/p/flowplayer-plugins/source/browse/#svn%2Fflash%2Fcloudfrontsignedurl%2Ftrunk%2Fsrc%2Factionscript%2Forg%2Fflowplayer%2Fcloudfrontsignedurl

https://console.aws.amazon.com/cloudfront/home

http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

http://stackoverflow.com/questions/3117671/how-to-run-a-private-content-video-from-cloudfront-using-rtmp-with-flowplayer
-->

<script src="https://s3-us-west-1.amazonaws.com/statictrafficdriven1/js/flowplayer/3.2.12/flowplayer-3.2.11.min.js"></script>

<a id="flowplayer" href="mp4:test/test.mp4" style="display:block; width:425px; height:300px"></a>

JavaScript

flowplayer("flowplayer", "https://s3-us-west-1.amazonaws.com/statictrafficdriven1/js/flowplayer/3.2.12/flowplayer-3.2.12.swf", {
    clip: {
        url:'mp4:test/test.mp4',
        autoPlay: false,
        //autoBuffering: true,
        scaling: 'fit',
        provider: 'rtmp',
        //urlResolver:'cloudfront'
    },
    log: {
        level: "warn",
        //filter: 'org.flowplayer.rtmp.*'
    }, 
    plugins: {
        controls: {
            autohide: 'always',
            fullscreen: true,
            tooltips: {
                buttons: true
            }
        },
        rtmp: {
            url: "flowplayer.rtmp-3.2.10.swf",
            netConnectionUrl: 'rtmp://s3da3fzwbzw4pu.cloudfront.net/cfx/st'
        },
/*cloudfront: {
            url: "flowplayer.cloudfrontsignedurl-1.0.swf"
        } */
    }
});