Vidy release (Joseph's Safe Websites Project)

If all you store in the MD is file pointers (eg Immutable Data) you won’t need to worry about the size limit, so in this sense it would scale well. If you mean for search/iteration, well then you would use a different pattern, perhaps a tree rather than a list, or a combination depending on your needs.

There are many templates to choose from, so again, not hard and again makes sense not to do this in the API itself, but to leave those choices to the application. But as I suggest, useful to have ready made libraries that different apps can share.

2 Likes

And who will be the owner of dynamically allocated “branches” of tree?
“Server”?

2 Likes

There is no server, so no. I’m saying that just as you can construct a linked list of MD (as described above) you can construct any linked structure. Tree, table etc according to your requirements.

Ownership is a matter for the application developer to decide as with any MD it creates.

2 Likes

But how developer can know what amount of MDs he needs to create to construct tree of enough size?
Depending on amount of user data, this can be 10 or 1000000 objects.

It needs to be expanded as needed

1 Like

Manually by developer?
Or with client-side JS?

I made a new update that adds more filters to website to make sure every file is stored in the right format and stops things trying to break the website or the developer console.Go here to test it out.

1 Like

Works for me - no console errors

1 Like

I made a topic on the dev forum where we can continue this discussion.

6 Likes

I think I know what the issue was. One of my filters to block bad content blocked messages that didnt begin with utc time 1502 , it is now utc time 1503… which meant all videos sent after that point weren’t shown. Everything should be fixed now. But there now a lot videos of ants.

3 Likes

Ants everywhere :smile:

1 Like

My Safe Tube project is going to be renamed to Vidy when it is uploaded to the next test net to prevent confusion with @whiteoutmashups’s SAFEtube - Video Player (by SAFE-FS) - #16 by whiteoutmashups

11 Likes

The latest browser of peruse is capable of uploading videos so Vidy is live again.

7 Likes

Good stuff Joseph. Just uploaded a couple of small vids. You have to fill out all the fields, right?

1 Like

Yep all fields need to be filled, there is also a size limit on videos (not too sure exactly in mb).

1 Like

Maybe you could try making each video upload add an internal link to each video on the main page. Loading this many videos at once seems to be crashing the browser for me. I’ve loaded 2 at most so far.

1 Like

This is really only a prototype of the type of website that can be built on the SAFE Network and was designed so that it would give current users the chance to play around with the SAFE Network and to show developers how to go about developing with SAFE Network API.

That being said it looks like I’ll be developing a more fully-featured version called Vidy 2.0 more info here.

You may be happy to hear I plan to include accounts, a more functional way of retrieving videos and have an idea of how to go about search (though very much in the early stages for search).

4 Likes

When you do, can you release a template?

1 Like

I plan to release the complete source of all my upcoming projects and have already released the full source code of my previous projects here.

11 Likes

woah this is awesome!