HTML5 video files (stored on Amazon S3) don’t play when restricted to my domain
Tried with default theme: No
Tried with all other plugins disabled: Yes
Browser version: Version 87.0.4280.66 (Official Build) (64-bit)
Shortcode/URL with the issue: [arve url="https://scr-public-withreferralrestriction.s3.us-east-2.amazonaws.com/Presentation2/index.html"/]
Debug Info:
ARVE Version: 9.0.0-beta7 ARVE Pro Version: NOT INSTALLED ARVE AMP Version: NOT INSTALLED ARVE Random Video: NOT INSTALLED WordPress Version: 5.5.3 PHP Version: 7.4.13 ACTIVE PLUGINS: ARVE Advanced Responsive Video Embedder: 9.0.0-beta7 Insert or Embed Articulate Content into WordPress Trial: 4.3000000003 LearnDash LMS: 3.3.0.1 LearnDash LMS - Course Grid: 1.6.0 LearnDash ProPanel: 2.1.4 Starter Templates: 2.3.7 Stripe Payments: 2.0.36 Ultimate Addons for Gutenberg: 1.17.0 WPForms Lite: 1.6.2.3 ARVE OPTIONS: array(2) { ["always_enqueue_assets"]=> bool(true) ["legacy_shortcodes"]=> bool(false) }
I’m using ARVE to link to my files via the “video embed (ARVE)” function. My files are stored on Amazon S3, and I only want my files to play through my website.
When I link to an mp4 file:
- Without referal restriction – it plays just fine
- With referal restriction – it plays just fine
When I link to an html5 video file:
- Without referal restriction – it plays just fine
- With referal restriction – it will not play
Thank you for any help you may provide!
Not sure if you are confused about what HTML 5 video files are or what I mean by it. I mean .mp4 and .webm files with the right video and audio codecs used, so they play in modern browsers and not .html files. You can however use a link to any website or .html file, ARVE will then embed that page webpage as is in an iframe. If it is your intention or have some presentation, whatever that is shown that way. I do not have access to that html either, so I can not tell you if it makes sense to embed this “/presentation2/index.html” this way. What is it exactly?
If you link to video files they will be embedded with the video HTML tag and not with an iframe. The “referral restriction” seems not to apply to things loaded with an iframe. You could try disabling sandbox for the embed but if the browser iframe embeds are not detected as “referral” it is out of my control with the plugin.
Ah OK so the HTML is actually intended to be used in iframes. ARVE should make it easier to have the embed responsive and so on. So when you manually used an iframe you did not have this issue? Did you try disabling Sandbox? Can you give me access to any public presentation I can test this with? If this works with a manually created iframe I should be able to make it work with ARVE as well.
Disabling sandbox didn’t help.
Without referer restriction, the video plays in regular iframe as well as ARVE embed.
WITH referer restriction, the video does NOT play in regular iframe or ARVE embed. It seems the issue isn’t specific to ARVE. I guess something about referer restriction makes html5 video files not play.
Thank you for your help.
I certainly could be confused about what “html5 video” means.
In my case, I’m exporting powerpoint files into the html5 format (using ispring converter), hosting them on S3, and then embedding them into my wordpress page. I was hoping that ARVE would make the embedding process easier/better than what I was already doing on my own with iframes.