Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for older browsers #12

Closed
jancborchardt opened this issue Nov 9, 2015 · 20 comments
Closed

Support for older browsers #12

jancborchardt opened this issue Nov 9, 2015 · 20 comments

Comments

@jancborchardt
Copy link
Member

With the current videoviewer we use Mediaelement.js – they have fallbacks using Silverlight and Flash for older browsers. Is this also possible with video.js? @Instagit

cc @VicDeo who is the main dev of our current files_videoviewer, alos cc @LukasReschke because he mentioned that.

@Instagit
Copy link

Instagit commented Nov 9, 2015

Yes, video.js has flash fallback, too, but I didn't include that so far. I'll include it when I upgrade video.js to the latest version -> #8

@jancborchardt
Copy link
Member Author

Great stuff!

@Instagit
Copy link

Upgrading to the latest Video.js version completely breaks the current CSS (cabin/videojs-sublime-skin#12). It has a lot of small improvements, but nothing essential as far as I can see, so I'd suggest to stay at this version for now.

I just saw that the flash fallback is actually included, so now we have to find out if it works or why it doesn't. I'm going to do some testing later today.

@jancborchardt
Copy link
Member Author

@Instagit awesome! Are you based in Germany btw? If you’re near Stuttgart, Munich or Berlin we could hack together some time. :)

@Instagit
Copy link

Yes, I work in/live near Hamburg. :)

@jancborchardt
Copy link
Member Author

Nice! Then definitely you should plan to attend the ownCloud conference in Berlin next year: https://owncloud.org/conf/ :) It will likely be either end of August or mid September.

Also, I’m originally from between Hannover and Osnabrück so when I’m back there sometimes we could also hack a bit. :)

@Instagit
Copy link

Cool, I'll keep it in mind!

@Instagit
Copy link

As for flash support: I tested it in IE8 with the fix-video-link branch and it works, but it's not a good experience as IE8 lacks support for many of the CSS features used to make the player responsive and the page looks very broken. Same with IE9 by the way.

@jancborchardt
Copy link
Member Author

@Instagit it doesn’t need to look pretty in IE8/9 or work on mobile, as long as basic video playback works. :)

@Instagit
Copy link

The player is designed to work on mobile with current browsers, so that should not be a problem - otherwise I need to fix it :)

But to give you an idea how unusable it is in IE8 and IE9, here are some screenshots:

IE8:
ie8

IE9:
ie9

With MS Edge out, I'm not looking to support Internet Exploder, especially old versions (IE 8,9 and 10 combined have about 5% market share globally), but if it's required by ownCloud we'd definitely have to add browser detection and separate CSS.

@jancborchardt
Copy link
Member Author

@Instagit Ok, IE8 looks ok, if the video is playable. :) IE9 we should maybe fix a bit.

Unfortunately the 5% market share is not fully correct, see https://www.netmarketshare.com/browser-market-share.aspx?qprid=2&qpcustomd=0 ;) (StatCounter checks by traffic, NetMarketShare by unique user. So it’s likely something inbetween like 10–15%.) But we @owncloud/designers will probably be able to help so we can make sure this awesome video app works nicely. :)

@jancborchardt
Copy link
Member Author

But yeah again – on IE8/9/10 bare functionality is ok, just playing videos. Doesn’t need to look great and mobile support is not needed there either of course.

@Instagit
Copy link

Ok. Do you know if ownCloud provides a way for apps to get the browser version? If not, I'd build a very basic JS detection for IE and load another CSS file with a simple player. I don't want to include any extra libraries for this to keep the impact for modern browsers minimal.

@jancborchardt
Copy link
Member Author

Yeah, we have an IE detection which for example is used by our fixes.css: https://github.com/owncloud/core/blob/master/core/css/fixes.css

cc @MorrisJobke for more info – do we have documentation on how to use this?

@Instagit
Copy link

Ok, looks like normal IE detection that adds classes to the HTML tag. That should do, thanks!

@MorrisJobke
Copy link
Contributor

cc @MorrisJobke for more info – do we have documentation on how to use this?

Sadly not.

@Instagit
Copy link

Fixed in 7dfeb5d.

The player is now centered at the top in IE8 and IE9 with different CSS, because they don't support transform. IE8 uses Flash fallback and the controls are hidden as they don't work.

@jancborchardt
Copy link
Member Author

@Instagit awesome! :) Sounds like we could potentially switch to this video player for ownCloud 9.0. What do you think @VicDeo?

@VicDeo
Copy link
Member

VicDeo commented Nov 15, 2015

if that's ok https://github.com/videojs/video.js/blob/master/LICENSE#L3
I would not mind

@jancborchardt
Copy link
Member Author

Yes, Apache 2 is compatible with AGPL v3: https://www.gnu.org/licenses/license-list.en.html#apache2

@Instagit Instagit mentioned this issue Feb 12, 2016
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants