Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello
i already have video playlists url and i want to copy them and paste in the blogger post code and give every url id then create button when i click the button open the link in my frame
example
this urls
https://www.youtube.com/watch?v=123    id1
https://www.youtube.com/watch?v=123    id2
https://www.youtube.com/watch?v=123    id3
https://www.youtube.com/watch?v=123    id4

<div class="vid-item" onClick="document.getElementById('vid_frame').src='id1'">
<div class="vid-item" onClick="document.getElementById('vid_frame').src='id2'">

i want to refer src to urls id 

thanks


What I have tried:

am not programmer am tried many things but faild
Posted
Updated 22-Jan-20 19:52pm
Comments
gggustafson 7-Feb-20 13:24pm    
I recommend that you study JavaScript (online at https://www.w3schools.com/js/) and HTML (online at https://www.w3schools.com/html/). From what you've included, you probably need to study CSS (online at https://www.w3schools.com/css/). You have a mishmash of code forms in your question. In order to solve your problem you must have some programming expertise. We can help when you can call yourself a programmer. Good Luck.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900