• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "jquery". Back to normal view
    1. Feedback and future development of Tildes Extended

      It's been a while since I've managed to follow the development of the Tildes community so I don't know how many invite waves we've had since then. For the uninitiated, back in the first 30 days (I...

      It's been a while since I've managed to follow the development of the Tildes community so I don't know how many invite waves we've had since then.

      For the uninitiated, back in the first 30 days (I think?) I started a plugin project for Chrome and Firefox that is meant to be the "reddit enhancement suite" light but for tildes. A sort of Tildes Companion (that would have been another good name, damn).

      Anyway, after an initial 2-3 weeks of furious development, some of it with the help of the good @Bauke, I've had to slow down quite a bit due to a big workload coming in at my company. After that I've had several family issues to deal with... to cut it short I neglected my beloved little code monster and today I saw not one, but two PM on tildes, asking me if I basically was alive and well :P

      So I thought that maybe it was the moment to ask for a feedback and, eventually, help.

      For reference, this is the github page.


      If you'd like to take part in the project you should know that:

      • It's written using jquery
        I thought of using other libraries or pure js but in the end it was the better compromise between spreaded knowledge and ease of use. Even if it's not the faster or lighter, taking up jquery is relatively easy compared to other libraries.
      • You have to have a minimum understanding of how plugins works for both chrome and firefox
        I started it after a long hiatus (I think 8 years) between this and the previous plugin I wrote, so if I could do it, you can as well :)
      • If you want to have access to the publishing / code review / merge features, you have to show me a decent understanding of code design
        I'm not particularly picky but I'd like to be sure that the plugins doesn't go live with lots of spaghetti code. There are already a couple of points in which I wanted to review and rewrite some code and I'd like to know that whoever will take responsability for the code quality, is at least concerned with quality as much as I am.

      To discuss further technical details please, come on slack (you don't have to even install it, you can use the web client).


      What I'd like to discuss here with you, is if in your opinion, there is still interest in this project or not. From the end-user point of view.

      To have a structured data of the feedback, please use this form. The same form will have a section in case you can/want to help.

      Thank you, anyway, for any input.

      43 votes
    2. Coding Noob Needs Help/Guidance on Small Project

      Hi, There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party...

      Hi,

      There's a certain site which hosts media files and has a player that depends on a lot of third-party resources to play, while browsers have native support for those file types. Those 3rd-party resources are often blocked by ad blockers and I have no desire to white-list them. I would like to extract the direct link to the media file and make it playable on my custom web page.

      The link to the media file is present in the page source of each page, always on the same line. It's not anchored in HTML but present in the JavaScript for the player, like so:

          $(document).ready(function(){
            $("#jquery_jplayer_1").jPlayer({
              ready: function () {
                $(this).jPlayer("setMedia", {
                  [ext]: "https://[domain]/[filename.ext]"
                });
              },
      

      In this example it's on line #5. [ext] = the file extension.

      I want to build the following:

      • A web page with a form with a single input field meant to receive links from that specific file host
      • [Something] that extracts the file link from the source of the host's page
      • Present the linked file as playable in an embedded native player

      So far I've managed to create a form with an input box and a submit button, but it doesn't do anything yet. What is the best way to build the actual functionality? I know HTML/CSS. I have some rudimentary understanding of JavaScript/jQuery and Python3, so those would be my preferred tools.

      For those worried about piracy: The files in question are not copyrighted and I'm not looking to make copies. I just want to make them playable. This is for personal use.

      Thank you for reading this far. Any and all advice is welcome!

      10 votes