Answer the question
In order to leave comments, you need to log in
How to display a variable in a variable?
There is a code
var txt = содержит название ссылки
var video =
' <div class="snippet">\n' +
' <div class="stage">\n' +
' <div class="dot-flashing"></div>\n' +
' </div>\n' +
' </div>\n' +
'<video id=video5 width=600 height=300 class="video-js vjs-default-skin" placeinline>\n' +
' <source src='"https://youtube.com/..." type="application/x-mpegURL">\n' +
'</video>';
' <source src='"txt." type="application/x-mpegURL">\n' +
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question