• Hello. I have a client who is currently hosting a paid video on her site. Visitors fill out a form, pay via PayPal and the page reloads with the video in it. If they reload the page or hit the back button, they get sent back to the payment form.

    This was working well until the client noticed a replay button appear at the end of the video. Since we have this video behind a paywall, she only wants viewers to be able to play the video once. We don’t want them to stay on the page and be able to play the video over and over again without going back through the payment process. The video is currently hosted by Vimeo, and their support staff said this isn’t possible with their videos.

    Are there any video player plugins or code that could disable playback or limit the video to play one time? I don’t know of any but wanted to check here first. The client is willing to host the video on her server if that’s needed. She’s also open to hiring a developer to create something to get this functionality, if it’s possible. Thanks!

Viewing 15 replies - 1 through 15 (of 22 total)
  • > Visitors fill out a form

    What sort of Authentication method are you using for the paywall?

    Not sure I agree with vimeo on this one – they have a reference to when a video has ended :
    https://developer.vimeo.com/player/sdk/reference#get-the-ended-state-of-a-video
    https://developer.vimeo.com/player/sdk/reference#ended

    Once the video has ended, you could take action on the WordPress page.

    I’ve not used BrightCove, but they say they have TTL built in :
    https://info.brightcove.com/vimeo-vs-brightcove
    The way it reads is that you could access the token, then <do something>

    Thread Starter djackson2

    (@djackson2)

    For authentication, we’re using Ninja Forms and their PayPal add-on. If payment is completed, a thank you message with the video is loaded. If payment is canceled or rejected for insufficient payment, the visitor is taken back to the form. The URL in the address bar doesn’t change whether the payment is successful or unsuccessful.

    Vimeo does have options on what to do when a video ends, but each of them results in either a replay button appearing or the video going back to the beginning with the option to play again. It seems like there would have to be something done with the player itself to play once and stop. I’ll look at the Vimeo documentation you shared again. I’ll also check out BrightCove. Thank you!

    Hi

    I’m curious. Why is this an issue? (I mean that the user can replay a video they have bought).

    • This reply was modified 3 years, 9 months ago by wibergsweb.

    @wibergsweb

    Lol, you took the words right out of my mouth!
    If feels like a problem is created where there is none – but @djackson2 didn’t really outline the business rules around the request.

    @corrinarusso LOL ??

    I guess @djackson2 could do something like this:

    <div id="videowrapper">
    {actual vimeo player}
    </div>

    …when {vimeo player has ended the actual video <div id=”videowrapper”> could be set to display:none; or removed from the DOM.

    • This reply was modified 3 years, 9 months ago by wibergsweb.
    • This reply was modified 3 years, 9 months ago by wibergsweb.
    • This reply was modified 3 years, 9 months ago by wibergsweb.

    Yes exactly.

    That was kind of my point about saying that there is a callback in the API from vimeo that indicates when the video ends. So maybe when you get that instruction, you can ask WordPress to do something.
    Like – auto-logout the user, or make them pay again, or c:\ –> execute –> rm -fR Lol.
    Lots of options.

    Thread Starter djackson2

    (@djackson2)

    @wibergsweb @corrinarusso

    The website is for a small museum that’s offering a virtual tour/short documentary video. The founder is worried that some people will replay the tour video to capture copyrighted images or video clips. There was some issue with this and past images years ago, so she’s extra cautious. Her ideal is that it works like an in-person tour. You buy your ticket, “walk through” once and then done.

    Thank you both for the suggestions on how this might work. Conceptually, it makes sense that when Vimeo notices the video has ended, the viewer gets sent back to the registration form. Again, I get the concept. Just not sure the exact code to use and where to put it. ??

    @djackson2

    Thank you for the context.

    Can you share the URL to the site, and paywall?

    Is the video supposed to be played while you walk through the museum?
    Or is this some type of covid / lockdown / virtual museum admission?

    My guess is you’re going to need to de-couple this from WordPress.
    WordPress is great at blogging ……..

    @djackson2

    Instead of chasing this down, how about time-based membership?

    Let’s take a step back, and look at the requirements.
    In the real world – I can’t buy a museum ticket on Monday, go to the museum, and then expect to go to the same museum on Tuesday without having to pay again – why not ?
    Bc my ticket is only good for one day.

    So apply this here – and then the conversation becomes, how do we sell admission that is only good for one day ? We can sell a subscription ticket or membership that is only valid for 24hrs.

    Now this is much easier to address.
    How about this :
    https://docs.memberpress.com/article/151-managing-subscriptions
    or how about an LMS – that’s what they do best, like this :
    https://www.learndash.com/features/
    under Subscriptions
    or this :
    https://lifterlms.com/features/

    Now that we have implemented things properly, now we can do all sorts of fun stuff like:
    – sell an annual membership,
    – or 6 months, or one month, etc
    – make purchases on behalf of my Grandma,
    etc, etc, etc.

    Solve the problem with the right solution, and one that scales – scale is important bc today the museum owner is asking for this one request to be met. Once that is met, it’ll be something else, and something else, etc, etc.

    Let me know if I’m off track.

    Thread Starter djackson2

    (@djackson2)

    @corrinarusso

    The video is a virtual-only admission.

    Here’s the link: Tour Registration Form. The submit button directs visitors to PayPal. Once they pay, they are sent to a thank you screen with the embedded Vimeo video. The URL in the address bar doesn’t change, so if they reload the page or hit the back button, they are taken back to the registration form.

    The video isn’t set to continuously play, so in theory, if someone was determined to steal imagery, they could pause, rewind and fast forward before the video ended. Removing the playback controls bar and turning autoplay on may solve that, but there’s still the matter of the replay button at the end. ??

    > if someone was determined to steal imagery

    Ya.
    With this type of stuff, I just have to tell clients that if you need to protect your data that bad then it doesn’t belong on the internet.
    That’s just the way it rolls.

    Thread Starter djackson2

    (@djackson2)

    @corrinarusso

    Also, in researching this, I found a video hosting company that lets you rent your videos to visitors for a specified amount of time. One hour is the shortest time.

    Just saw your longer post re: a subscription model and will check out the links you provided. Thank you. And you’re right. We’re attacking a very specific problem. I’ll see if the founder is open to a larger plan like the one you’re suggesting.

    The more I think about it, the more you need to use the right tool for the job.
    Scale is better than simply solving the immediate issue in front of you.
    Definitely subscription model.
    Including restricted / exclusive content, etc etc.
    Not just about the video – it can extend much further.

    And doing things like, if you sign up again within 60 days, you get 20% off.
    I mean – I could just go on and on. Lol.

    Thread Starter djackson2

    (@djackson2)

    @corrinarusso

    Re: imagery stealing, I agree. Determined people will find a way. Unfortunately, we can’t always protect for every “what if” scenario.

    Re: common visitors – The video is only ~15 minutes, so unless someone gets interrupted, they’ll likely pay, view the video right then and close the window.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Disable Playback/Replay on Videos’ is closed to new replies.