Closed HCMF closed 4 years ago
Sorry my bad... optimizeDisplay is boolean and needs no quotes: <a class="switch" href='javascript:;' onclick="jQuery('#wc-video').YTPChangeVideo({videoURL:'https://www.youtube.com/watch?v=xxx',optimizeDisplay:false})"> English </a>
I am trying to have the initial video that loads display with optimizeDisplay: true and then when the user clicks a button to change the video the new video displays with optimizeDisplay: false
But I can't seem to get this to take effect... Is it not possible to pass this property?