VideoJS has had a video like this on their website for years. For full disclosure, I used to work for Brightcove and I created the video-js-html5Thumbnails plugin.
HTML5 doesn't support RTMP.
http://videojs.com/html5-video/ "Sites like Hulu that have copyrighted content, use RTMP streaming. HTML5 video (or more specifically HTML5 compatible browsers) doesn’t support RTMP streaming yet. "
We don't use RTMP for security reasons but for performance reasons. The way we solve the iphone streaming is not ideal in many ways.
I made a few paysite networks back in the day. We always just bought our own fileservers with one of the good adult hosts. ISPrime was the best with the fastest/most quality connection although they were a little more expensive than the rest. It is way cheaper to just get 2 mirrored servers at a good adult host than to pay the cloud fees especially if you're hosting a lot of large video downloads and also promo materials. Then you just use ffmpeg on the server to encode the video to h264, add watermarks, and extract thumbnails for the preview. Once you have the video in h264 and all your video thumbnail files there's a bunch of players out there that should do what you want with a little customization although I haven't really researched this in a while. I always used http://videojs.com/ . Good luck!
Quick followup: I'd still host your main site on the cloud (the code and images). This server I'm describing would just be for hosting video files and doing the ffmpeg encoding if you're going to be doing that.
no, you're streaming from joker.org --
<video id="vidjs_html5_api" class="vjs-tech" ng-file-drop="onFileSelect($files)" ng-file-drag-over-class="dropping" src="http://vm2.joker.org/v/4224649465bdd7ddc0391e3786f7c25c1b2c8f4cd2c9572de28aa5476afefe5f7c97286f6cb28a4ec6deba78ccfb415e21477e3ee70f972e6955b49d60aef5c6fe5e3d87de4a40e3af36051500ba9866eed301efa022537ee3c95d0aee7436d4.mp4"><!-- ngRepeat: language in trackLanguages --><!-- ngRepeat: language in trackLanguages --><p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p></video>
The real question is just how long this site is going to stay around. my guess is, not very long.
It's not bad, a few suggestions though:
But overall, good job. Nice, minimal, and too the point.. I wouldn't bloat it up with much more, people are only going to be visiting this thing to see your work samples, and then if they're interested, a way to contact you, and you already have those covered.
I work in the adult business. Primarily tube sites. There's a couple things I can tell you from your post.
Serve the videos from a global CDN like Leaseweb or CDNSun. You can host the "origin" videos anywhere you want. For instance AWS S3, but you should be serving them via CDN for the sake of your visitors.
Most video players can show previews on the progress bar, including JWPlayer. But you have to actually make the preview thumbnails as a sprite. For example http://i.imgur.com/sXLa2XV.jpg There's no video player that I know of that can automatically create previews from the embedded video.
Maybe try the player from http://videojs.com. It wraps the <video> tag, which can be instructed to load the video before the play button is clicked.
I looked up how to add a page to the admin area, there are some good starter tutorials. I created all the files in a support folder in the theme, and included it in the theme's functions.php.
I used http://videojs.com as the player, rather than hosting on youtube or whatever.
Where I work we can't use youtube because our audience is often behind firewalls where youtube is blocked.
So we convert to .mp4, .webm, and .ogv using ffmpeg, then upload those files to Amazon S3. On the client side we're using a forked version of video.js with their flash fallback and the video for everyone markup.
Honestly it's quite a pain, and while we're working toward the feature-set of youtube, we've still got a ways to go. It seems like everytime we browser test something new pokes it head. Best of luck.
Nicely done. One issue you'll face is .ogv files in Firefox.
This video about paradigm shifts plays perfectly in Chrome, Safari, Opera. It does not play in Firefox 4 or 3.6. (Tested on OS 10.6, didn't test it on Linux)
I found this Why Isn't OGG Video playing on Firefox from Amazon S3?
Lastly, If you decide you want a more robust video solution than JPlayer, VideoJS looks very pretty and does full-screen, etc, and the markup to embed it didn't seem too ugly. Anyway, great job.
Sure, it's pretty basic...
I built it on CodeIgniter to save time, it really only has 2 controllers/models which are "videos" and "upload".
I grabbed a template off of themeforest for $12
Used http://videojs.com/ for the video player
Running on AWS elastic beanstalk for auto scaling etc of the servers, although all queries are memcached so server hits are minimal right now (AWS actually seem to be cool with porn, which surprised me, as long as it's legal - so the only issue I should have it copyrighted material. But it seems the industry is waking up to this issue now and often letting it slide as long as you dont remove the logo and or you offer a linkback, which i'm more than happy to do)
All files are uploaded directly to an Amazon S3 bucket with reduced redundancy to keep costs down.
When a new server is fired up (either to replace an old one or when autoscaling due to traffic spikes) ffmpeg is downloaded and installed directly on the server.
All uploads have a screenshot generated on the fly by ffmpeg, screenshot is then also uploaded to S3.
Search right now uses a basic explode on search term string and for each checks the term against video name, description, tags etc
Each video uploaded uses the title as the slug with a timestamp prepended to prevent duplicate URLs
I was using CloudFlare for SSL but realised they have a stupid 100mb upload limit, so now looking at alternative SSL options.
thats about it really....
You may want to look into http://videojs.com/
The popup you're referring to is typically called a modal. Lightbox is a popular one. Frameworks like Bootstrap, SemanticUI and Foundation have built in modals that can be used in conjunction with VideoJS.
Honestly as a quick kneejerk reaction I'd say no, it's nowhere near worth hosting them yourself over YouTube.
You'd have to consider
You'd also have to somehow convince your 3.5k/day viewers to visit your site rather than YouTube too to break even on views, depending on where they're coming from this will range from easy (if they're all coming from an embed on your existing site) to virtually impossible (if they're all arriving via YouTube search)
I'd say at this point your best bet is to try to work with the contentid system - Upload your videos as unlisted/private and publish them when you've dealt with the claims. Sure there'll be a delay on your videos but that's a whole lot less work than trying to host them reliably yourself
Failing that have a scout out for an MCN that'll take you on as managed. Even with the affiliate shenanigans recently that'd still probably be an easier option than hosting yourself
Having said all of that if you do go down the self-hosted route, check out videojs for a web-video player. It's open source so you can possibly find an advert plugin, hack ads in or pay someone to make a plugin to serve adverts. Do also bear in mind it's very easy for the viewer to download your videos, if that's an issue.
Your videos will need to be in webm format falling back to mp4 to support the majority of browsers while making the best savings on bandwidth costs
I've worked with video and audio for client and personal projects lately, here is how I'm handling it.
You're going to need to host the video, so I would suggest finding a service like Sorenson360, or even Amazon S3 with CloudFront. I've worked with both, but prefer the control I have with Amazon.
I'd imagine you're going to have a lot of videos, so you'll need to convert them. Sorenson will do this for you, but I setup a Amazon Ec2 instance with FFMPEG and a bunch of it's libraries to handle the converting.
I normally use Flowplayer on the front end, but recently learned about "Video.js" and I'm really looking forward to trying it.
Hope that helps - sorry for brevity, dinner timer just went off.
Edit: Few more notes. I should be working on a personal project that makes heavy use of video, audio, images and documents... Only day this week I have had any time to myself, kind of hope this will help get my brain into dev mode. If anyone more knowledge has any suggestions, I'd love to hear them.
When I upload a video, it's assigned a name and stored in an S3 bucket. Using Amaon's AMI tools you can "mount" an S3 bucket, which makes it easy to move files around, convert them to new format, etc...
I'm using the PHP-FFMPEG library that I modified to help with converting and capturing screen shots. Some good info here. I convert them to OGG, H264 and FLV (for the flash fall-back).
The media service is completely separate from the front-end, I made an API so that I can use the same service for multiple projects if I want - it's mainly just for getting media info, playlists, etc... All the management is done through tools on the media server.
I'm going to be serving video soon and had videojs.com bookmarked.
Does anyone have experience with http://www.jplayer.org vs. http://videojs.com ?
videojs seems to have more problems forward seeking on my system (could be a bandwidth issue on their server?).
If the video is under 10 mins and not private, YouTube it. If it's over 10 mins, export as HD .mp4 (and .swf if you care about browsers that don't support HTML5), convert to .ogv with Miro, and upload all files to your server, then use VideoJS.
If you're on WP, there is a really nice plugin for this: http://wordpress.org/extend/plugins/videojs-html5-video-player-for-wordpress/
Great article. It's a damn shame browsers didn't stop slapfighting for the HTML5 video spec. Conversion/upload takes FOREVER...
I would suggest using some sort of JavaScript library that handles the output for you. The two I can think of off hand are:
MediaElement.js and
Both of these implement Croc Kamen's Video for Everybody, which is the chunk of HTML markup that will cause browsers to load the best of what's available. I haven't tried video.js, but MediaElement.js will serve up an mp4 to all major browsers (android and mobile safari included), using a flash player where native html5 mp4 support isn't available. The plus side of this is that you only have to provide ONE encoding to support all major platforms.
Direct Link: http://videojs.com/
Screw Qink, but VideoJS is pretty slick. I'm using it now on a fairly large project. Had to modify it to bend to what we need but so far it's been an excellent base to work from.
We had our in house developers put something together with http://videojs.com/ so that we can embed videos into sharepoint sites. It doesn't look too terribly hard to set up and just pulls video files directly from network storage.
What's wrong with Video.js? :)
From what I was able to find this is an issue that is related to CM13 + Relay for Reddit.
Can you play the video on following page? http://videojs.com/
Here is another post related to CM13 + Relay + video issues https://www.reddit.com/r/cyanogenmod/comments/4yw2wi/problem_with_web_video_playback_in_cm13/
/u/tributeswithcum /u/Aleks192
There are some third party video players that will make your life easy. You dont need to learn anything new, although some Javascript might help. take a look at these solutions:
They all have free versions of their products, play around and see what fits your needs. JWPlayer is the most famous of them all and used by a lot of websites.
http://live-promotions.apple.com/drop/champaign.m3u8
http://videojs.com/html5-video-support/
http://cdn.shopify.com/s/files/1/0847/8186/t/5/assets/modernizr.dynamic.build.js?6629714056758990276
//cdn.shopify.com/s/files/1/0847/8186/t/5/assets/main.css?6629714056758990276
are some codes, cant open a lot of them though
Looking at the code for Team Gaki's own streaming videos (not the dailymotion ones but the ones on http://stream.teamgaki.com ) I think what Rich does is host the videos on their own server and then use Javascript http://videojs.com/ to embed the videos on a web page. But in that instance you're paying for the bandwidth yourself rather than relying on free services like VK etc.
check out http://www.mediagoblin.org/
edit: care to explain why I'm being downvoted? Maybe that doesn't fit what OP want, so instead I propose using h5ai and videojs. More hackish but more lightweight.
I read into that and the compatibility still sucks balls (at least for mobile, I couldn't get it to work on certain Androids and I think I ran into issues on Firefox). I'm told at my agency that VideoJS is the most commonly used script to play video via HTML5: http://videojs.com/. Still, the safe bet is always to have a fallback to Flash (which VideoJS implements).
You could use video.js or MediaElement, both of which are JavaScript libraries that implement Kroc Camen's Video for Everybody.
If you use MediaElement, you can use just h.264, and it will display properly in all the main browsers, using a flash fallback where it is not supported. If you have both h.264 and WebM, you can have a html5 player in all browsers, minus IE of course - which will fallback to flash.