# Video player for uploads

**URL:** https://meta.discourse.org/t/video-player-for-uploads/104764
**Category:** Support
**Created:** [December 20, 2018, 1:04pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764 "2018-12-20T13:04:35Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)
#### Post date: [December 20, 2018, 1:04pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/1 "2018-12-20T13:04:35Z")

</div>

Is there a way for when a user uploads an mp4 or video it shows a player function and not just a link to download the video?

Not talking about sharing a one box link but a direct upload of an mp4.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 20, 2018, 1:39pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/2 "2018-12-20T13:39:54Z")

</div>

Handling videos is a lot of work. You are better off using a dedicated video sharing service and linking to it.

---

<div class="post-metadata">

### Author: ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)
#### Post date: [December 20, 2018, 1:42pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/3 "2018-12-20T13:42:52Z")

</div>

Nothing that’s integrated with it? Or ideas on how to set it up? Some fight videos I want to host that streamable and sites with exception of live leak don’t delete automatically.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 21, 2018, 3:26am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/8 "2018-12-21T03:26:49Z")

</div>

It already works this way, try uploading a short `mp4` clip and it will work fine, as you can see here:

[https://global.discourse-cdn.com/meta/original/3X/1/7/17735b4721faa7d59e1fd8a2300135a3f04c9ea6.mp4](https://global.discourse-cdn.com/meta/original/3X/1/7/17735b4721faa7d59e1fd8a2300135a3f04c9ea6.mp4)

You’re simply going to run into upload limits because videos are _HUUUUGE_. Upload those clips somewhere that specializes in hosting video and then link to them, like everyone else does, which _also_ provides a built in player .. 😉

---

<div class="post-metadata">

### Author: ![OrcaFrost](https://avatars.discourse-cdn.com/v4/letter/o/3e96dc/32.png) [@OrcaFrost](https://meta.discourse.org/u/OrcaFrost)
#### Post date: [December 21, 2018, 3:47am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/9 "2018-12-21T03:47:49Z")

</div>

🤔  
Given embedded options, isn’t it better to upload on video sharing site like youtube instead?

Doesn’t need to add extra layer of unnecessary censorship too…

-edit-  
Plus it allows much bigger videos without storage strain 😍😍😍

---

<div class="post-metadata">

### Author: ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)
#### Post date: [December 21, 2018, 9:20am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/11 "2018-12-21T09:20:06Z")

</div>

Thanks @codinghorror. I guess my older forum I stopped trying cause a few times just gave me links to download only. I’ll give it a shot today.

@OrcaFrost I wish but I was on a Reddit sub similar with what I wanted and about half of the top videos were deleted. I just hate when I click on links to watch a video and it’s gone. That’s what I was trying to prevent. I know Reddit subs started making mirror bots but sometimes those are deleted also and Reddit is so large the quality of what’s posted is bad.

I’d hate to cost more then I needed too especially for such a small site project but I really hate dead links if I can avoid it. And LiveLeak is a rabbit hole I just don’t want to go down linking back too lol

---

<div class="post-metadata">

### Author: ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)
#### Post date: [December 21, 2018, 9:41am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/12 "2018-12-21T09:41:19Z")

</div>

Worked perfectly! Thanks!

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [February 9, 2019, 9:40pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/13 "2019-02-09T21:40:12Z")

</div>

Can I tack a support request on to the end of this thread?

When I click the upload button here on Meta, and upload a MP4 video, it does not transform my link and leaves it as:

```
https://global.discourse-cdn.com/meta/original/3X/8/e/8e88d0b77c6b9eafff95c0c6c444aa2f6dba856c.mp4

```

And it embeds a player 👍🏻

However, on our Discourse [v2.2.0.beta10 +16](https://github.com/discourse/discourse/compare/60c1cd9f81ce826620eeba471076abce327fd947...tests-passed) when I upload a video it replaces the link and turns it in to an attachment of sorts:

```
<a class="attachment" href="//greyarrows.s3.dualstack.eu-west-2.amazonaws.com/original/2X/8/8e88d0b77c6b9eafff95c0c6c444aa2f6dba856c.mp4">20181207_M62_Vehicle_Fire.mp4</a> (2.9 MB)

```

I’m guessing this is a setting we have changed somewhere.

Question is, does anyone know how to undo / fix this?

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [February 10, 2019, 2:45pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/14 "2019-02-10T14:45:35Z")

</div>

> [@Richie](#):
>
> I’m guessing this is a setting we have changed somewhere.
> 
> Question is, does anyone know how to undo / fix this?

To answer my own question, this setting was enabled:

`prevent anons from downloading files`

Unticking it then allows uploaded videos to be embedded with a video player.

---

<div class="post-metadata">

### Author: ![Hang](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hang/32/157079_2.png) [@Hang](https://meta.discourse.org/u/Hang)
#### Post date: [October 31, 2019, 10:20pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/15 "2019-10-31T22:20:35Z")

</div>

Quick question, is it currently possible to add poster image attribute to the video?

(context: we would like to support videos from [Wikimedia Commons](https://commons.wikimedia.org/) in our instance, but videos often have a rather not attractive first frame that shows as a preview, so adding nice image as html video poster image would be a great improvement)

---

<div class="post-metadata">

### Author: ![jeffing65](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeffing65/32/155390_2.png) [@jeffing65](https://meta.discourse.org/u/jeffing65)
#### Post date: [November 4, 2019, 3:21am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/16 "2019-11-04T03:21:57Z")

</div>

> [@Richie](#):
>
> To answer my own question, this setting was enabled:
> 
> `prevent anons from downloading files`
> 
> Unticking it then allows uploaded videos to be embedded with a video player.

Is this setting accessable to moderators or only the administrator?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 4, 2019, 10:13pm UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/17 "2019-11-04T22:13:05Z")

</div>

All site setting modifications are only available to admins, not moderators.

---

<div class="post-metadata">

### Author: ![jeffing65](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeffing65/32/155390_2.png) [@jeffing65](https://meta.discourse.org/u/jeffing65)
#### Post date: [November 5, 2019, 9:45am UTC](https://meta.discourse.org/t/video-player-for-uploads/104764/18 "2019-11-05T09:45:24Z")

</div>

Thanks Sam. I knew the answer before I asked, but wanted to be certain. LOL  
My problem is being a moderator with its limits and an administrator whose time is consumed by his other responsibilities combined with not wanting to deal with PITA requests like searching his admin dashboard and figuring out how to do something simple, (i.e. change a setting or function, create a new category, etc.), when it’s not a necessity. Frustrating sometimes.

Thanks for the conformation. 👍
