Add title attribute for video play image.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7951002892
commit
27ae3e3fed
1
index.js
1
index.js
@ -18,6 +18,7 @@ function CreateVideoPlaceholder(id) {
|
|||||||
imgPH.src = PlayImageURL
|
imgPH.src = PlayImageURL
|
||||||
imgPH.id = "play-"+id
|
imgPH.id = "play-"+id
|
||||||
imgPH.alt = "Play Video"
|
imgPH.alt = "Play Video"
|
||||||
|
imgPH.title = "Play"
|
||||||
imgPH.width = 360
|
imgPH.width = 360
|
||||||
imgPH.style.cursor = "pointer"
|
imgPH.style.cursor = "pointer"
|
||||||
if (document.addEventListener) {
|
if (document.addEventListener) {
|
||||||
|
Loading…
Reference in New Issue
Block a user