Video Embed's
Going to place a few posts in this thread, each with a sites video "stuff" for discussion / input / ignore
Our video embed code (1.1) currently supports YouTube, Vimeo and DailyMotion. I don't use the last two so really have no idea if they are still worth supporting or not. Each of these sites does make it easy to embed items as well as fetch the preview thumbnail, they really are geared toward easy embeds.
Also of importance is the way we go about the embeds. We fetch just a preview image which is lite and fast. Once the image is clicked, the sites video embed code/player/scripts/html etc. is fetched into an iframe and begins playing. That can be quite a bit of data, and can be slow as well, that's why its not loaded unless requested by the user/viewer.
Before any preview loads (or it fails), it will use a sites logo as the background just so there is not an empty box on the screen. The logos are part of the JS embed and are saved as simple SVG's .
That brings me to adding additional support for other sites and some of the difficulties involved. I've looked at adding TikTok, Twitter, Facebook and Instagram support, and each as their restrictions, I'll make a post for each site, with any issues of note.
Re: Video Embed's
Reply #8 –
YT, Vimeo, Dailymotion seems to work fine, but after that there is something wrong
Re: Video Embed's
Reply #10 –
yep, switched to default and no more strange images