The "Invalid embed type: link" error in the video element of Webflow occurs when you're trying to set a public video URL from S3. Typically, this issue arises due to the format of the video URL, which might not be compatible with the video element in Webflow.
Webflow's video element is designed to work with various video platforms and embed codes rather than direct link URLs. While it supports embedding videos from platforms like YouTube, Vimeo, and Wistia out of the box, it might not directly support embedding videos from S3 using a public link.
To resolve this issue, you have a few potential solutions:
1. Convert the S3 video link to a suitable embed code: Instead of using the direct S3 video URL, you can try generating an embed code from S3 (if it offers such functionality) or use a third-party converter to convert the link to a compatible embed code. Once you have the embed code, you can paste it into the Webflow video element.
2. Host the video on a supported platform: If possible, consider hosting the video on a supported platform like YouTube, Vimeo, or Wistia. These platforms often offer more robust video management tools and provide a seamless embedding experience in Webflow. By uploading your video to one of these platforms, you can then utilize the respective embed code or URL in the Webflow video element.
3. Utilize the HTML video element: If all else fails, another alternative is to use the HTML video element in Webflow. This element allows you to manually write HTML code to embed the video. You can use the `
Remember to ensure that your S3 video file has public access permissions, allowing it to be embedded on external websites. Check your S3 bucket settings to confirm that the videos are public and accessible.
In summary, the "Invalid embed type: link" error in Webflow's video element occurs because the element primarily supports embed codes from popular video platforms rather than direct video URLs. To resolve this problem, convert the S3 link to a compatible embed code, consider hosting the video on a supported platform, or use the HTML video element to manually embed the video.