locked
Navigate to a page and load a video source

    Question

  • What I want to do is load a specific video source when navigated to from another page.  Any ideas?

    I can change the source using the following code if already on my video page:

    <aonclick="document.getElementsByTagName('video')[0].src ='/Videos/2012-06-007-invite-us-to-testify-1300k-eng.mp4'">Video1</a>

    I have tried using href with that code and it doesn't work. 

     <a href="/pages/Video/video.html" onclick="document.getElementsByTagName('video')[0].src ='/Videos/2012-06-007-invite-us-to-testify-1300k-eng.mp4'">Video1</a>

     

    Saturday, June 15, 2013 12:31 AM

Answers