1,292 karma · joined November 12, 2019
That’s probably not to advertise for that company. I don’t see why it’s sad?
We implemented it as a drop-in replacement:
-- <iframe src="https://www.youtube.com/embed/aqz-KE-bpKQ">
++ <iframe src="https://www.embedlite.com/embed/aqz-KE-bpKQ">
Nothing else needed.So they are all at risk.
- new Date() equivalent in Temporal is `const now = Temporal.Now.zonedDateTimeISO();`.
- Date.now() equivalent is `Temporal.Now.instant().epochMilliseconds`
- It’s PascalCase, where JS is mostly snakeCase.
- nanoseconds per default. who needs that except Bloomberg? It should have been an option
It’s definitely great all the efforts put in place, but it’s not going to be a replacement to Date which such a complicated design.
He walked a bit, but mostly sailed though.
The book (Equator) worths the read. Especially the part in Africa.
By the way the link is broken on your website.
Just sharing another approach where you keep the YouTube embed iframe, but replace the domain "youtube.com" by this specific domain "embedlite.com". It loads only the thumbnail of the video and when someone clicks on it, it loads the full YouTube player.
More info: https://www.embedlite.com
We tried different techniques to improve this and ended up building an (open source) solution that’s dead-simple.