Menu
![]() ![]() switch source, and so on and so onĬonst playPromise = ay() // trigger video loadĬonsole. tAttribute('autoplay', 'true') // just in case =) const video = document.getElementById("video2") Vid2src.src = 'newsource.vid' // use the reference everywhere elseīecause the play() method is asynchronous, lets try an async solution. If we put the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |