<p>In your Rich Text field settings, if you select the "Standard" Redactor config that ships with a fresh Craft install (maps to the <code>.json</code> files in <code>craft/config/redactor</code>), it has the "Video" plugin selected by default.</p>

<p><a href="https://i.sstatic.net/dmt1m.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dmt1m.png" alt="enter image description here"></a></p>

<p>That will add a Video button to your Rich Text field toolbar.</p>

<p><a href="https://i.sstatic.net/w0LiT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/w0LiT.png" alt="enter image description here"></a></p>

<p>Clicking it will let you embed iframe code that you can output on the front-end of your site.</p>

<p><a href="https://i.sstatic.net/DVxJx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/DVxJx.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2017-10-02T05:09:22.120Z
Thanks, but i know about that. This video button help me to add video through embed code but I want to **upload** my video in my sites same as we upload images in our site.
Mohit Prajapati
CC BY-SA 3.0
2017-10-02T17:01:52.077Z
Sorry... missed the upload part of the question.
Brad Bell
CC BY-SA 3.0
2017-09-30T00:40:19.387Z
2017-09-30T00:40:19.387Z
Brad Bell
<p>If you want to upload and host the video on your site's server, then I would create a field with an Asset field type and restrict the type to Video. Without further details, it's hard to understand why you'd want to handle it within a Rich Text field.</p>

<p>Since you're hosting the video, you don't need an iframe. Just use the HTML5 <code>&lt;video&gt;</code> tag...</p>

<pre><code>{% for video in entry.FIELDNAME %}
&lt;video width="320" height="240" controls&gt;
&lt;source src="{{ video.getUrl }}" type="video/mp4"&gt;
&lt;/video&gt;
</code></pre>

<p>Your servers will be handling the bandwidth for video delivery though; which is why most people post to YouTube or Vimeo and use the iframe to pass it through. To do that, you'd use the include that Brad mentioned.</p>

CC BY-SA 3.0
2017-10-05T07:42:36.013Z
I have text content above the video and below the video so i think if i can handle this with the Rich Text so need to create an extra field for video asset.
Mohit Prajapati
CC BY-SA 3.0
2017-10-02T07:46:57.290Z
2017-10-02T07:46:57.290Z
Jeff Fulton
<p>I am adding a video in a Rich Text field through file button in toolbar. I want to play these video in iframe. How can I do this..?</p>

<p>Or is there anyother option or plugin by which I can upload video which and add in richtext filed anywhere I want and show this in iframe on frontend.</p>

<craft-features>
Video frame for video file in a Rich Text field
# Video frame for video file in a Rich Text field

(Asked by: username_0 on 2017-09-29)

I am adding a video in a Rich Text field through file button in toolbar. I want to play these video in iframe. How can I do this..?

Or is there anyother option or plugin by which I can upload video which and add in richtext filed anywhere I want and show this in iframe on frontend.

**Tags:** craft-features


---

## 2 answers

### Answer by username_2 on 2017-10-02. Score: 1

If you want to upload and host the video on your site's server, then I would create a field with an Asset field type and restrict the type to Video. Without further details, it's hard to understand why you'd want to handle it within a Rich Text field.
Since you're hosting the video, you don't need an iframe. Just use the HTML5  tag...
{% for video in entry.FIELDNAME %}




Your servers will be handling the bandwidth for video delivery though; which is why most people post to YouTube or Vimeo and use the iframe to pass it through. To do that, you'd use the include that Brad mentioned.

> **Comments:**
> **username_0**: I have text content above the video and below the video so i think if i can handle this with the Rich Text so need to create an extra field for video asset.  

---

### Answer by username_1 on 2017-09-30. Score: 0

In your Rich Text field settings, if you select the "Standard" Redactor config that ships with a fresh Craft install (maps to the `.json` files in `craft/config/redactor`), it has the "Video" plugin selected by default.

[![enter image description here](https://i.sstatic.net/dmt1m.png)](https://i.sstatic.net/dmt1m.png)

That will add a Video button to your Rich Text field toolbar.

[![enter image description here](https://i.sstatic.net/w0LiT.png)](https://i.sstatic.net/w0LiT.png)

Clicking it will let you embed iframe code that you can output on the front-end of your site.

[![enter image description here](https://i.sstatic.net/DVxJx.png)](https://i.sstatic.net/DVxJx.png)

> **Comments:**
> **username_0**: Thanks, but i know about that. This video button help me to add video through embed code but I want to **upload** my video in my sites same as we upload images in our site.  
> **username_1**: Sorry... missed the upload part of the question.  

---

