Is there any way to embed a video player or any widget which can play videos ?
Yes, but I’m not aware of any existing reusable plugin that does this, so you’ll have to build it (probably using a node view).
Thanks for the reply ! can you provide some example/link on how to use node view for videos. That would be great as i am new to this.
If you want to embed youtube, vimeo etc. player, you can use schema and input rule to create and append fragment. At least that’s how I did it…
I was able to implement one with a new schema item + custom NodeView that inserts an element with an iframe with the src attribute from the video schema.
For example, this would work if you give it a youtube embedded video link or a direct link to a video file on the web.