Jump to content

Generate token dynamically to create the URL inorder to access a private vimeo video in HTML


ajoy123rocks

Recommended Posts

HTML code:

 

          <p class="Docs">A Development Program for Players and Coaches  &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp; Carlos Frade & Michael Schwarz&emsp;&emsp;&emsp;&emsp;&ensp;&nbsp;
            <button type="button" class="buttonvid" data-bs-toggle="tooltip" data-bs-placement="right" title="Credits: FIBA Europe"data-toggle="modal" data-target="#videoModal10" data-video="https://vod-progressive.akamaized.net/exp=1640630173~acl=%2Fvimeo-prod-skyfire-std-us%2F01%2F2769%2F17%2F438849557%2F1916566106.mp4~hmac=a97bb09bb0d7f3fe919fe2aa1e67d116cbc4769d49fbcaf3a33ac83fa12f9ade/vimeo-prod-skyfire-std-us/01/2769/17/438849557/1916566106.mp4"> Watch&nbsp;<i class="fa fa-video-camera" aria-hidden="true"></i></button>                                          
          </p>

 

 

I need to access a vimeo video from website every time the user clicks the "Watch" button. The URL is a akamai token generated url and expires after exp time. I do have a login for the site (http://coaching.fibaeurope.com) where vimeo video link is located.

https://vod-progressive.akamaized.net/exp=1640630173~acl=%2Fvimeo-prod-skyfire-std-us%2F01%2F2769%2F17%2F438849557%2F1916566106.mp4~hmac=a97bb09bb0d7f3fe919fe2aa1e67d116cbc4769d49fbcaf3a33ac83fa12f9ade/vimeo-prod-skyfire-std-us/01/2769/17/438849557/1916566106.mp4

 

Is there a way get the token generated dynamically using javascript?

kindly help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...