Embed Youtube or VIMEO video in rich text editon

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Embed Youtube or VIMEO video in rich text editon

Post by aarlauskas » 2020-02-24 13:10

Hello, I though I’ll do quick tutorial table in my application. I tried to make it simple with two fields only, one for title, second (rich html) for the actual info so it gives me freedom to update etc. I want to include Youtube or VIMEO videos in between the lines as embed code. When I do this as an admin and drop the embed code from either provider, it created the actual frame with video player, but when I save it and then logon with another user (see only permission), it only displays the embed code instead. Why is this happening? Is there a specific way to drop the code within the lines? All I do is copy and paste the code into editor.

In admin (with all permissions)
embed_admin1.png
embed_admin1.png (57.04 KiB) Viewed 4540 times
In user (with see only permissions)
embed_user.png
embed_user.png (8.63 KiB) Viewed 4540 times

User avatar
aarlauskas
Veteran Member
Posts: 127
Joined: 2019-04-28 18:03
Location: Medway, UK

Re: Embed Youtube or VIMEO video in rich text editon

Post by aarlauskas » 2020-02-24 14:13

Ok, you're not going to believe this, but I mananed to change the actual editor based on old (2014) Ahmed's guide :lol:

The new editon has 'Source' button that lets you drop Embed code.

Info is here: viewtopic.php?f=8&t=1292&p=3273&hilit=e ... itor#p3273

So now I have this in admin:
new_edit_admin.png
new_edit_admin.png (51.96 KiB) Viewed 4535 times
And this in user:
new_edit_user.png
new_edit_user.png (175.62 KiB) Viewed 4535 times
So proud of myself :lol: :lol:

Post Reply