• Hello,

    We use WooCommerce Memberships and trying to use EVP in order to provide a short video trailer to non-members. So when a non-member they access a page, they will see a video trailer and when they log in as members, they will see the full video.

    For this, we use WooCommerce Memberships and some of its shortcodes. The issue comes when we try to add a video trailer for non-members — we use the following on our page:

    [wcm_nonmember]

    [evp_embed_video url=”url/to/the/video_trailerl.mp4″]

    [/wcm_nonmember]

    So this should show the video trailer to non-members, however, the video does not display well at all. Instead of taking the full width, there’s just a black screen, shifted slightly to the right and there are no video controls.
    If I remove the [wcm_nonmember] shortcodes, the video displays well.

    Are you aware of any known issues and any possible workarounds may be? I can provide a link, but it is NSFW.

    Thanks in advance!

    • This topic was modified 2 years, 10 months ago by gyrdnv.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Noor Alam

    (@naa986)

    @gyrdnv, I believe WooCommerce Memberships needs to call do_shortcode() to filter nested shortcodes:

    https://codex.www.ads-software.com/Shortcode_API#Nested_Shortcodes

    Thread Starter gyrdnv

    (@gyrdnv)

    Hi Noor,

    Thank you for your reply!

    I forgot to mention that we’re already using another video player, that we’re looking to change with EVP possibly.

    That other video player is also called with a shortcode which is nested inside [wcm_nonmember] [/wcm_nonmember] and it works fine.

    It’s when we add EVP’s shortcode when it breaks it seems.

    Any clues at all?

    • This reply was modified 2 years, 10 months ago by gyrdnv.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[NSFW] EVP and WooCommerce Memberships’ is closed to new replies.