AnsweredAssumed Answered

Change the Feeds URL

Question asked by Kevin Keiller on Jan 5, 2016
Latest reply on Jan 5, 2016 by Kevin Keiller

How do i change the video path dynamically using a function that is called from an onClick event?

As it is now, when the player loads, it hardcodes the video path.  I want to use the same player and change the videos without having to reload the page.

I have used a function to pass a parameter (the video path) via the URL, which i can assign to a variable and use that variable as the video path before the amp, feeds are instantiated, but i can't change the variable once the page has loaded and have it play a different video.


I am looking for a one or two line method for changing out the video path dynamically.


Thank you.