• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Javascript Issue

Please see attached.

Note down near the end where it says HTML the object video1.

Note the soutce src = <function>

This doesn't work.

Richard Korts
Richard Korts
1 Solution
The vale for src must be an absolute or relative url.  You can't put a function there because there is no event to fire the function.  If the source is variable then set it in the javascript with document.getElementById('video1').src='urlofvideo';

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now