AlecRust / protected-video

Embed YouTube/Vimeo videos in a "secure" way.
https://wordpress.org/plugins/protected-video
GNU General Public License v2.0
3 stars 1 forks source link

Service for S3 URL #41

Open urfusion opened 4 months ago

urfusion commented 4 months ago

Is there any service for AWS S3 files?

If I am leaving service empty it not render video.

Even if I pass service html5 and url of S3 it is not working

AlecRust commented 4 months ago

This plugin currently only supports YouTube and Vimeo embeds. But loading self hosted videos would be a nice feature.

Currently this plugin uses the "non progressively enhanced" Plyr embed method documented here.

To support HTML5 i.e. an MP4 on an S3 bucket, the way this plugin renders Plyr players would need to change to this.

Note that this embed method would also be less "secure" in that the URL to the MP4 would be visible in page source, and through Dev Tools as with the current embed method.

For now I would recommend using Plyr HTML5 approach directly, or better yet the Vidstack HTML5 player which is the successor to Plyr and more customisable.

I will look to add this feature to Protected Video, but I can't give any guarantees or timeline. I'm also not sure yet if this will happen before or after migrating the plugin to Vidstack (Plyr is now deprecated).