replace jwplayer with videojs for local videos

amlucent

  • Posts: 5
replace jwplayer with videojs for local videos
« 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!

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,667
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: replace jwplayer with videojs for local videos
« Reply #2, 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.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,061
Re: replace jwplayer with videojs for local videos
« Reply #3, 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...

amlucent

  • Posts: 5
Re: replace jwplayer with videojs for local videos
« Reply #4, 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.

Nao

  • Dadman with a boy
  • Posts: 16,061
Re: replace jwplayer with videojs for local videos
« Reply #5, 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.

amlucent

  • Posts: 5
Re: replace jwplayer with videojs for local videos
« Reply #6, on July 20th, 2011, 07:31 PM »Last edited on July 20th, 2011, 07:39 PM by amlucent
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/

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,667
Re: replace jwplayer with videojs for local videos
« Reply #7, 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.

nhwd

  • I'm liking the close-to-final look of Wedge
  • Posts: 18
Re: replace jwplayer with videojs for local videos
« Reply #8, 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.
Wedge Fan

CJ Jackson

  • I got myself a new iPad, a different world to the iPhone!
  • Posts: 241
Re: replace jwplayer with videojs for local videos
« Reply #9, 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!

Nao

  • Dadman with a boy
  • Posts: 16,061

CJ Jackson

  • I got myself a new iPad, a different world to the iPhone!
  • Posts: 241

MultiformeIngegno

  • Posts: 1,337

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: replace jwplayer with videojs for local videos
« Reply #13, 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.

Nao

  • Dadman with a boy
  • Posts: 16,061
Re: replace jwplayer with videojs for local videos
« Reply #14, 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...