Wouldn't it be better to integrate with the existing federated video hosting service? (PeerTube) so basically host videos in PeerTube, link to Lemmy, make the Lemmy UI parse it as a video with a custom player
No Stupid Questions
No such thing. Ask away!
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules (interactive)
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here.
Credits
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!
I'm still pretty new here so i don't know how that works, but I just want to see the random crazy person or fight video between memes and news stories
OP knows what they want, and I respect it
See this is what lemmy and being in a community is all about.
Does PeerTube distribute load across instances, like BitTorrent? Or does it assume that the hosting instance has enough bandwidth to support all concurrent users?
It uses WebTorrent for distribution between viewers watching at the same time which can temporarily help with the load on popular videos, but there still needs to be at least one source instance that's sharing the video "regularly" (for unpopular or old stuff), which ends up having the same bandwidth issues you'd get with any other video platform.
Oh, cool. I expect that means that bandwidth costs should scale sublinearly in number of concurrent viewers of the same video — so 1000 people watching the same video should cost less in bandwidth than 100 people watching 10 videos, or 10 people watching 100 videos.
PeerTube uses the WebTorrent protocol for its videos, so it does distribute load with everyone currently watching a video helping distribute it to everyone else. Each instance is its own torrent tracker. I'm not sure how I feel about it, because your IP address is visible to anyone else watching the video also.
I'm going to be honest with you, I have absolutely no idea how it works. And as far as I can see, there are very few instances at the moment.
Though someone smarter than me could probably answer you by checking the source code, or maybe they even have some documentation written already.
This is the answer.
As long as automatic playback is not turned on by default!
Firefox blocks autoplay by default
Embedded is what you're looking for I believe, it is currently an imposition (impedance) to host videos on a Lemmy instance.
Im on kbin and I get videos. Just had to add the endpoints to my no script.
Can you explain how to do this?
I'm surprised there doesn't seem to be any way to display a video at least from another source. It's common on the mastodon side.
Weird thing is Lemmy is able to embed mp4 but couldn't for youtube. c/videos will be awesome with that embed feature.
Just curious, is it not feasible because of the storage space the videos would take up or something to that effect?
They could just let us use embed code like this:
Doesn't have to be hosted on the instance.
Storage space is one issue. Bandwidth (how many TB/mo goes out the server) is another. And for any "serious" use case transcoding would also be important (so you can keep the other two down for everyone except Apple users who are stubborn to adopt VP9/AV1, and to provide multiple quality options), which unlike the other two requires powerful hardware most instances do not have.
You don't have to host a video to embed it. YouTube has a video player that can be run on other websites.
That's the only reason why I keep on going back to reddit.
I really fucking hope not.
Why?
Because it's a data hog for mobile users, but mostly because it's intrusive to the browsing experience.
This should just be something that mobile clients can turn off by default.
So having an image/thumbnail with a "play" button is intrusive? I can see how some people might find it annoying (or perhaps even intrusive), but we already have embedded images which are exactly the same until pressed.
Yes, embedded images are also intrusive.
That's fair.
In that case, perhaps you (if you find it annoying enough) could open a feature request ticket on your favorite app to "Add option to disable inline/embedded Media". It appears that you are not the only one with this issue, and I don't mind having a more complete user experience with more options.
If there's enough people that find it useful, it could at least be an optional setting. It's really a client thing, though, nothing to do with Lemmy itself.