Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by Wilson Edwards
at 2024-09-24 12:51:46
Point:500 Replies:1 POST_ID:829283USER_ID:12108
Topic:
javascript
I tried many times, still not work when changing src attribute on <source id='node' src='' tyle='video/mp4'> by javascript,
for example, document.getElementById('node').srce='https;//mysite.com/video.mp4'
but when I put the link into html page, then reload it, it working well. Why ?
Please advise
Accepted Solution
Author: Wilson Edwards replied at 2024-09-24 12:53:13
500 points Excellent
Found the answer....I should use load() on video tag after change src attribute eveytime