Skip to content

Instantly share code, notes, and snippets.

@adgilfillan
Created August 8, 2016 15:22
Show Gist options
  • Save adgilfillan/4eeda7c130c20df630f03b9d921aaba7 to your computer and use it in GitHub Desktop.
Save adgilfillan/4eeda7c130c20df630f03b9d921aaba7 to your computer and use it in GitHub Desktop.
<script>
var span_Text = document.getElementById("spanFileDisplaycntrlID_14113 > a:nth-child(2)").innerText;
<script>
<video width="320" height="240" controls>
<source src='span_Text' type="video/mp4">
</video>
@adgilfillan
Copy link
Author

I'm trying to take a URL from a span and insert it into an HTML video tag on the same page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment