Strange YouTube embed coding question
Strange YouTube embed coding question
Out of context: Reply #11
- Started
- Last post
- 22 Responses
- ESKEMA0
If you gave the container name as an id
<div id="video-container">Then the CSS for targeting it and the JavaScript code should :
#video-containerIf you named it as a class (which I recommend) like this:
<div class="video-container">Then you use a class selector instead:
.video-container