You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to dynamically set the src atttribute, of the source tag, I get a return value of null from getElementById("sourceId"). This is due to the DOM manipulation your framework does when it encounters a wb-mltmd class that creates an IFrame to display the YouTube content. With the source tag removed from the DOM I see no way to dynamically set it,
const source = document.getElementById("source");
source.src = "http://www.youtube.com/watch?v=9znKJqnFuuY";
source.trigger( "wb-init.wb-mltmd" ); // You'll also need this to reset WET controls
When trying to dynamically set the src atttribute, of the source tag, I get a return value of null from getElementById("sourceId"). This is due to the DOM manipulation your framework does when it encounters a wb-mltmd class that creates an IFrame to display the YouTube content. With the source tag removed from the DOM I see no way to dynamically set it,
The text was updated successfully, but these errors were encountered: