tomayac’s avatartomayac’s Twitter Archive—№ 19,579

  1. Here’s a preview of what my team came up with during a team-wide hackathon: Link to Media 🔗🖼, a Chrome extension allowing for linking to arbitrary images, videos, audios: youtu.be/g90bqxdpwLw. It’s based on a new fragment directive syntax proposal: github.com/WICG/scroll-to-text-fragment/blob/main/EXTENSIONS.md#fragment-directive-syntax.
    1. …in reply to @tomayac
      ① Go to w3schools.com/html/html5_video.asp (bare with me, it's just a page with two videos). ② Paste the code below into the @ChromeDevTools Console. js await import('unpkg.com/link-to-media') .then(module => console.log(module.createLink(document.querySelectorAll('video')[1])));
      oh my god twitter doesn’t include alt text from images in their API