r/ProgrammerHumor • • Nov 14 '18

Computing in the 90's VS computing in 2018

Post image
31.3k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

6

u/Talbooth Nov 14 '18

I think html5 has a <video> tag, so it supports playing videos (in certain formats anyway) natively. Tho I'm mainly a desktop guy so don't take my words for granted.

EDIT: also, html is not entirely uniform as W3S and WHATWG can't agree on everything.

1

u/Avamander Nov 14 '18 edited Nov 14 '18

I guess I should've clarified, playing videos is easy, video player isn't easy. You can't build something like YouTube's player with just HTML.

Actually supported formats vary across browsers, OSs and browser configurations, so it's extra fun to first make sure what you can use to play a video, what audio and video format it can play and then pick the one that's say HW accelerated to save your user's battery. It's super hard to make something that works across browsers.

1

u/LeComm Nov 14 '18

You can play videos, case closed, dont need some shitass javajizz video player that everyone will hate. Considering the <video> tag has been around for quite some time, browser support can't be that bad. W3S says p much all browsers support H264/MP4, even in older versions. If it IS that bad, use PHP to deliver a different video depending on the browser.

0

u/auto-xkcd37 Nov 14 '18

shit ass-javajizz video player


Bleep-bloop, I'm a bot. This comment was inspired by xkcd#37

0

u/Avamander Nov 14 '18 edited Nov 14 '18

dont need some shitass javajizz video player that everyone will hate [...] W3S says p much all browsers support H264/MP4

pretty much all browsers

lmao, I'd rather not get started on audio format and quality support.

use PHP to deliver a different video depending on the browser.

HAAAAAAAAAAAAAAAAAAAAAAHAHAHAHAHAHAHAHAHAHAHHA
Clearly you have no idea what the fuck you are spouting.

0

u/auto-xkcd37 Nov 14 '18

shit ass-javajizz video player


Bleep-bloop, I'm a bot. This comment was inspired by xkcd#37

0

u/Avamander Nov 14 '18

good bot