Wedge

Public area => The Pub => Features => Topic started by: amlucent on July 20th, 2011, 07:57 AM

Title: replace jwplayer with videojs for local videos
Post by: amlucent on July 20th, 2011, 07:57 AM
its a small stupid request..  and I think I am the only one using aeva media gallery for local videos.  I would love it if you would replace jwplayer with either videojs or flowplayer.  Both are free and open source. The reason why I request this is because both of these players offer easy html 5 video with flash fall back.  Maybe you can do it with jwplayer but I know mediacore will do it with these two and of the two I think videojs looked a little cleaner.  I request this because I am very interested in supporting apple devices that do not support flash player  :D.  I dont know how much code would need to be replaced but if its small please consider it.  Thanks Guys!
Title: Re: replace jwplayer with videojs for local videos
Post by: live627 on July 20th, 2011, 09:54 AM
Hi Amulent! Long time nosee! :)
Title: Re: replace jwplayer with videojs for local videos
Post by: Arantor on July 20th, 2011, 11:43 AM
Um, you do realise that when there is "HTML5" playback, the player has absolutely nothing to do with it, right? That the exact same code could be wrapped around JWPlayer for HTML5 devices?

Out of interest what format do you use? Different browsers support different formats meaning that for plenty of users, Flash is the only option.
Title: Re: replace jwplayer with videojs for local videos
Post by: Nao on July 20th, 2011, 12:44 PM
There's also MediaSomething.js that does the html5/flash fallback thing.
But JWPlayer also does it in its later versions.

Honestly I'd have switched to any of these long ago, if it wasn't for the fact that JWPlayer added a watermark later on, and I don't want it, so I simply used the last version to feature no forced watermark.
As for 'why JWPlayer'? Because it's the only player I know of that's got a plugin system, and the only player plugin system I know of that's got a spectrum analyzer plugin. (For audio files.)
Heck, I don't even think other players, apart from Flow, play audio files as well...
Title: Re: replace jwplayer with videojs for local videos
Post by: amlucent on July 20th, 2011, 05:51 PM
Quote from live627 on July 20th, 2011, 09:54 AM
Hi Amulent! Long time nosee! :)
Hi Live!  Are you working over here now?  Still developing Dream portal?
Quote from Arantor on July 20th, 2011, 11:43 AM
Um, you do realise that when there is "HTML5" playback, the player has absolutely nothing to do with it, right? That the exact same code could be wrapped around JWPlayer for HTML5 devices?

Out of interest what format do you use? Different browsers support different formats meaning that for plenty of users, Flash is the only option.
I am using mp4.  I understand flash is the only option for a lot of machines unless I want to keep 3 versions of every file on my server (ogv, mp4, and webm.  which I dont intend to do).  My goal is to support apple products.  Android users have the option for flash so I am not concerned.

As I said before, I have been trying this Mediacore http://mediacore.com/ and it handles html 5 flash fall back really well with a number of players at the admins choice.  Jwplayer was an option that did not handle html 5, so I assumed it couldnt, but with some further searching I see that it can do html 5 (which you already knew).  Anyway, with mediacore I was able to try a number of different options for players and truth be told I liked sublime player the "best" but I dont think it was worth $10 a month, not with all these free options out here.

Anyway, if it could be done with jwplayer then great.  I dont mind a watermark.  The jwplayer water mark only pops up at the beginning of the video then goes away.  I hardly even notice it but truthfully I dont even mind the flowplayer water mark that stays for the entire video.
Title: Re: replace jwplayer with videojs for local videos
Post by: Nao on July 20th, 2011, 06:55 PM
Quote from amlucent on July 20th, 2011, 05:51 PM
I am using mp4.  I understand flash is the only option for a lot of machines unless I want to keep 3 versions of every file on my server (ogv, mp4, and webm.  which I dont intend to do).
No one intends to.
With Flash 11, webm will be supported everywhere (except for Android, ironically.)
Quote
Anyway, if it could be done with jwplayer then great.  I dont mind a watermark.  The jwplayer water mark only pops up at the beginning of the video then goes away.
No. If you hit the Pause button and then play again, the watermark shows up again. That was the deal breaker for me.
Title: Re: replace jwplayer with videojs for local videos
Post by: amlucent on July 20th, 2011, 07:31 PM
So, I think this is the current jwplayer.  It's playing in flash.  Everytime I pause it the water mark does not appear.

http://www.longtailvideo.com/addons/skins/156/Stormtrooper

Anyway, you know whats best better than I do.  I was just trying to think of a way for apple support without too much hassle for you.

Also, I thought webm got support in gingerbread?

http://www.engadget.com/2011/02/23/android-2-3-3-gives-you-another-reason-to-want-it-webm-support/
Title: Re: replace jwplayer with videojs for local videos
Post by: live627 on July 21st, 2011, 12:41 AM
Quote
Are you working over here now?
No. Lurking a lot and waiting for the public beta to port all my mods to Wedge.
Quote
Still developing Dream portal?
No.
Title: Re: replace jwplayer with videojs for local videos
Post by: nhwd on July 30th, 2011, 01:31 AM
I think it's a good idea to add some function or feature that doesn't rely on flash so people can watch the videos on their phones with their default player.
Title: Re: replace jwplayer with videojs for local videos
Post by: CJ Jackson on July 30th, 2011, 01:45 AM
h.264 & lc-aac (mp4), html5, javascript, flash and silverlight are the only solutions that will likely work with most web browser and current & future mobile devices.

There no solution with older mobile devices!
Title: Re: replace jwplayer with videojs for local videos
Post by: Nao on July 30th, 2011, 08:15 AM
Silverlight is windows only iirc. Plus its only purpose is to compete against flash.  Meh.
Title: Re: replace jwplayer with videojs for local videos
Post by: CJ Jackson on July 30th, 2011, 12:23 PM
Quote from Nao/Gilles on July 30th, 2011, 08:15 AM
Silverlight is windows only iirc. Plus its only purpose is to compete against flash.  Meh.
Let not forget Mac OS X and Windows Phone 7, as for GNU/Linux and FreeBSD there Moonlight.

http://en.wikipedia.org/wiki/Moonlight_(runtime)
Title: Re: replace jwplayer with videojs for local videos
Post by: MultiformeIngegno on July 30th, 2011, 01:34 PM
Flash and Silverlight are just shit. Let's move on with HTML 5!
Title: Re: replace jwplayer with videojs for local videos
Post by: Arantor on July 30th, 2011, 01:36 PM
It isn't as simple as that. Even if the HTML 5 tags are used, there's no guarantee the video or audio is available in a format that is suitable.

Not all browsers support H.264 out of the box, nor do all of them support Web-M, which means you potentially have to include Flash playing as a fallback. Besides, one of the perks of JWPlayer is the graphic equaliser which cannot be realised in HTML 5.
Title: Re: replace jwplayer with videojs for local videos
Post by: Nao on July 30th, 2011, 03:37 PM
It can be done but the audio API is in it's infancy. Chrome and firefox use incompatible implementations and nothing is standardized yet. Maybe in a year or two...
Title: Re: replace jwplayer with videojs for local videos
Post by: Pandos on March 17th, 2014, 03:30 PM
In search of a new player, I stumbled upon this nice little thing.
@Nao: I think this should be the right replacement for jw-player.
It's also possible to display ads with it AND its VAST capable. This is something thats really expencive in other players (about 900 $). And this one if for free!
Just played around with it for a while and I'm really excited about it.
And the best of all: no problems with the license thingy.

http://www.videojs.com/
https://github.com/videojs/video.js
Title: Re: replace jwplayer with videojs for local videos
Post by: Nao on March 17th, 2014, 05:41 PM
But this doesn't seem to have a Flash fallback, so it isn't exactly more exciting than MediaElement, is it..?

http://mediaelementjs.com
Title: Re: replace jwplayer with videojs for local videos
Post by: Pandos on March 17th, 2014, 05:56 PM
Videojs has Flash fallback. But it's not well documented :)
And a very  hughe list of plugins (that was your concern a couple of posts before).

Title: Re: replace jwplayer with videojs for local videos
Post by: Pandos on March 17th, 2014, 05:57 PM
And a very nice API. :)