As the title suggests, what I'm trying to accomplish is have a drop down 
with a list of videos. Once the user makes a selection the embedded video 
on the page changes to the video selected.

Example: https://prnt.sc/d8VElh0pr_NY

Example of the HTML I have working on a website I made, but want to 
transfer to TiddlyWiki. With <script> tags not working in TiddlyWiki, I'm 
not sure how to accomplish the same thing..
<optgroup label="Keypads"> <option value="SL4shuPWRnE">Arm/Disarm</option> 
<option value="HuzCY5OsznM">Cancel/Verify</option> <option 
value="gPOC3d29aAo">Door Chime</option> 

Javascript from my website
<script> $("#dynamic_select").change(function(){ var val = $(this).val(); 
$("iframe").attr("src", function(i, a){ return 
a.replace(/(?<=embed\/)[^?]+/, val); }); 
console.log($("iframe").attr("src")); }); </script> 

This then triggers this section of the HTML for the embed to change the 
embed YT video.
<iframe src="https://www.youtube.com/embed/SL4shuPWRnE?vq=hd1080 
rel=0&amp;showinfo=0"> 

Any suggestions would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29b38a75-dd6a-42ac-bf0d-0d3a43c4d76bn%40googlegroups.com.

Reply via email to