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