• @[email protected]OPM
    link
    fedilink
    English
    51 day ago

    Looks like it’s still a WIP. lemmy.world says that it can’t find the user, but my instance shows his profile:

    https://midwest.social/u/[email protected]

    If you click on the full username, you get redirect to this page, which is the raw ActivityPub profile:

    https://loops.video/ap/user/1

    {
      "@context": [
        "https://w3id.org/security/v1",
        "https://www.w3.org/ns/activitystreams",
        {
          "toot": "http://joinmastodon.org/ns",
          "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
          "indexable": "toot:indexable"
        }
      ],
      "id": "https://loops.video/ap/user/1",
      "type": "Person",
      "following": "https://loops.video/ap/user/1/following",
      "followers": "https://loops.video/ap/user/1/followers",
      "inbox": "https://loops.video/ap/user/1/inbox",
      "outbox": "https://loops.video/ap/user/1/outbox",
      "preferredUsername": "dansup",
      "name": "dansup",
      "summary": "",
      "url": "https://loops.video/@dansup",
      "manuallyApprovesFollowers": true,
      "indexable": false,
      "published": "2024-06-06T10:30:00+00:00",
      "publicKey": {
        "id": "https://loops.video/ap/user/1#main-key",
        "owner": "https://loops.video/ap/user/1",
        "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1zzC7XBF81lhJV1o47AA\n9JgguOxygANanxzRUaGOA7BUC9kAWbXI2CoQtzVBTGRiSaiy84d8UgdKQOiAT49m\nmmPdkdnb7zeL7PUKVucv5ppxL5pjXvx11FfYDOIvy52TxjirDIEhvSCiau3BSYf7\nvXtIgsoGnVTkDaStoDauDMfEPGnf6E7eCWHKPOkbeuxF3B3k/Mz2qEmg2MXxegt/\njE4Y75E0BiPs+GeCcYBwri6QddGlQlfveUmj5ZGN2AZGaZdZBNE4FlvJK14GIiTi\n/xT1rYJgwEViFSvGdqXXeRWcWth6UzyzzQrUARLniAf9xcFyYFdx6oJmI3Mu4EWd\nMwIDAQAB\n-----END PUBLIC KEY-----\n"
      },
      "icon": {
        "type": "Image",
        "mediaType": "image/jpeg",
        "url": "https://loopsusercontent.com/avatars/1/v0.jpg"
      }
    }
    

    Based on the mention of toots and mastodon, I’m guessing he’s focusing on that first. Hopefully interoperability with Lemmy will come quickly though. Being able to embed loops as posts would be really nice.

    • OpenStars
      link
      fedilink
      English
      2
      edit-2
      11 hours ago

      It looks like if you can somehow get the video file URL (Andrew’s reply to a different comment in this post) it works? So the trick could be to get that, to streamline the whole process.

      Edit: oh but I guess that leaves a lot out - the username, the little comment, the hearts or whatever they are (I don’t have an account), and the comments. Like embedding a YouTube video, it would need to provide a link to the full package as well as the video itself as just a preview.

        • OpenStars
          link
          fedilink
          English
          12 hours ago

          An intriguing idea. It would include a link for attribution ofc. I am not certain bc it would depend on what people mean when they say that they want it “embedded”.

          Right now I click once on the preview and it opens it in Loops. Or if I see there are comments I click that, then a second click opens it in Loops. None of which is hard? It does get annoying when going to the post to see the comments makes the browser forget where I was at on the Community page and I have to change the specified sort from the default of Hot to New again - so if I remember then I’ll open the comments in a new tab, but that’s again a barrier to contend with. But a bot showing the video wouldn’t remove THAT barrier, only the one going forward to the actual Loops page, which is already not much of a barrier (I think?).

          So are people wanting to see these videos in like Tile mode, so they can watch one after the other, without having to leave the sorted Community menu? In that case, I suppose they/we could get a Loops app, which should be easier now that there’s an Android version (though waiting for a new account to be approved may still have a delay, perhaps? iirc I saw comments to that effect in dansup’s Android app announcement on Mastodon). If this is the case, then the only thing that would help with that will be a full integration into the front-end code of Lemmy. If you were interested in that, two suggestions to start with could be taking a look at how PieFed does its YouTube embedding - it seems similar? Also Admiral Patrick has done that in Tesseract (as e.g. implemented in dubvee.org) as well. Ofc that’s a different style of programming and you may not be interested, so no judgement if not, just sharing thoughts here.

          But if THAT is what people are wanting, then will a bot putting it into the comments be sufficient? If it took you 2 months to make the bot, and then in 2 more months the front-end embed came out, would you feel that you had wasted your time? But maybe it’s rather the work of 1 day?

          Sorry, I wish I were or more help here, but hopefully laying these thoughts out like this could be of some use? Perhaps if you want it but aren’t suitable with the coding language you could write a post asking someone to do the embedding for you - people may have thought about doing so already, but asking them may help them see a higher prioritization in that?

    • Andrew
      link
      fedilink
      English
      323 hours ago

      The post on Loops is a Note made by a Person, so it’s good for any part of the Fediverse that lets you follow a Person. For Lemmy, it’d need to a Note made by a Person to a Group (aka a community). Loops is by the same guy that does PixelFed, which was supposed to be getting Group support, but I don’t think it ever happened.