Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Lightbox protected embed shortcode requesting S3 video in wrong order

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox protected embed shortcode requesting S3 video in wrong order

  • This topic has 9 replies, 4 voices, and was last updated 7 years, 11 months ago by wpCommerce.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • August 10, 2016 at 8:14 am #13644
    cball251
    Member

    Hi there. I’m using the following shortcode on a page of my site:

    [wp_lightbox_embed_protected_s3_video name=”intro-test.mp4″ bucket=”lessonsdm” width=”1000″ height=”563″]

    The issue is that I get an error when I go to play the video [html5: Video file not found], and returns this URL:

    [https://lessonsdm.s3.amazonaws.com/intro-test.mp4?…]

    As you can see it’s placing the bucket before the “s3.amazonaws” in the request which seems to be causing the issue. Interestingly enough, the shortcode using cloudfront works just fine, except I need the videos to work on iOS devices. I had the video set to public when trying cloudFront, and they are now set to private when trying the “private s3 embed”. It is a properly encoded H.264 mp4.

    I’ve scoured all 65 pages of the forum and can’t find anything on this, so any help is appreciated. My site is membership based, so if you need access to it I’ll need to provide you with login details.

    Any help is appreciated!

    August 10, 2016 at 9:24 pm #73923
    wpCommerce
    Moderator

    Hi, Please provide a link to the page in question so I can take a look. Is there a folder containing the video? Does it work if you set to public?

    May 30, 2017 at 9:16 pm #73924
    455Films
    Member

    Was there ever a fix for this issue?

    I am also having the same problem where the bucket is being placed at the beginning of the url [http://bucket.s3.amazonaws.com/video.mp4?…]

    Please let me know what the solution was.

    Thanks

    May 30, 2017 at 11:54 pm #73925
    admin
    Keymaster

    Please share a link to the page where you have the shortcode then we can inspect that page and see what is going wrong. Then we will be able to help you.

    May 31, 2017 at 12:52 am #73926
    455Films
    Member

    Here is the page with the shortcode:

    [http://ds9documentary.com/testingground/]

    June 1, 2017 at 7:40 am #73927
    wpCommerce
    Moderator

    @455Films, Do you have this checkbox enabled in the General Settings? – Disable Shortcode Formatting

    If so please uncheck it.

    June 1, 2017 at 7:11 pm #73928
    455Films
    Member

    I did that, but the link formatting is still incorrect. When I click on the image anchor, the lightbox player pops up and says “html 5 video file not found.”

    The link it is trying to reach for the video is still putting the bucket first.

    June 2, 2017 at 6:13 am #73929
    wpCommerce
    Moderator

    Actually that’s not the issue here. The bucket name is supposed to be at the beginning. I followed your link to see If I can get more details from the S3 server. It seems to be returning this message:

    The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

    Where is your bucket located?

    June 2, 2017 at 9:45 pm #73930
    455Films
    Member

    The bucket was created at the root level of my Amazon S3 Console. The region is US-East (Ohio)

    June 3, 2017 at 7:50 am #73931
    wpCommerce
    Moderator

    Thanks. It looks like your bucket is hosted in a region that supports only Amazon S3 signature version 4.

    http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

    We will need to make some adjustments in our code so it works with this API. I have sent an email to your registered email address for site access. Let me know if you don’t receive it.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ