nhayder's avatar
Level 13

Looking to WYSIWYG editor that allows user to embed media (youtube, twitter, .. etc)

i'm using laravel 5.8 and i'm looking for WYSIWYG editor to offer basic text editing, but the more important thing is i need to allow my users to embed media from multiple locations (youtube, vimeo, twitter, instagram, ... etc).

i tried CKeditor 4 which is fine and they have automatic embedding features that at start looked very attractive to me, Unfortunately it looks like all embedded medias from admin area are returning tags.

<oembed>https://www.youtube.com/watch?v=H08tGjXNHO4</oembed>

i'm not fully aware of tags and how to use then but according to my research it looks like i need a 3rd party service to render oembed object to standard media object.

So does anybody have recommendation on which editor should i use ???

OR is there is away to convert tags without using 3rd party service.

Any ideas ???

0 likes
2 replies
rossiluca's avatar

Are you using it in Vue.js or in blade?

1 like
nhayder's avatar
Level 13

@rossiluca media embedding is taking place directly on blade template file, i'm using jquery as my main JS library, but embedding the media is happening using CKeditor to insert the media and blade file should fetch the

<oembed>https://www.youtube.com/watch?v=H08tGjXNHO4</oembed>

from youtube.

Please do let me know if you still need further clarifications

thanks

Please or to participate in this conversation.