froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.28k stars 673 forks source link

Video will not load via URL or Embed HTML #3666

Closed bpautsch closed 2 years ago

bpautsch commented 5 years ago

Video Source: https://3stepsolutions.s3.amazonaws.com/assets/custom/001061/videos/roots-w-megs.mp4

HTML: <video width="320" height="240" controls> <source src="https://3stepsolutions.s3.amazonaws.com/assets/custom/001061/videos/roots-w-megs.mp4" type="video/mp4"> </video>

Expected behavior.

Scenario 1: Click Insert Video, click "By URL", paste in URL and click "Insert". Video should show. Scenario 2: Click Insert Video, click "Embedded Code", paste in HTML and click "Insert". Video should show.

Actual behavior.

In both scenarios, receive error message "Something went wrong. Please try again.".

Comments:

  1. The video is large (801 MB), but we have: "videoMaxSize: 1048576000‬" That's 1000 MB or 1 GB (1024 x 1024 x 1000).
  2. There are no errors in the Console.
  3. If I open the Froala source editor, paste in the HTML, and switch back to view mode, it render the video and plays perfectly.

Editor version.

Froala v2.9.6

OS.

Windows 10

Browser.

Chrome Version 76.0.3809.132 (Official Build) (64-bit)

deevannaveed commented 4 years ago

Any Updates on this error?

DevS1993 commented 4 years ago
  1. The "By URL" option works url's from video players e.g. Youtube, Vimeo. Doesn't work with direct public links to videos. The editor inserts an iFrame with the URL input by the user.

  2. The "Embedded Code" option works with and not with

laxman-spidey commented 2 years ago

@bpautsch I'm also in need of the similar functionality. Did you find any solution or alternate for it.

bpautsch commented 2 years ago

@bpautsch I'm also in need of the similar functionality. Did you find any solution or alternate for it.

I have not. It seems like it would be an easy fix.

smshuja commented 2 years ago

This is an important feature. Would be great if it can be added.

ilyaskarim commented 2 years ago

The issue is already being fixed in V3.1.0: https://froala.com/wysiwyg-editor/changelog/#3.1.0