Embedded jwplayer into jQuery Dialog
问题 I need to put my jwplayer inside of a Dialog, and I did it as how I created other dialogs, but it failed with error "TypeError: jwplayer(...).setup is not a function" Here is my code as follow: function popupVideoPlayDialog(urlToRenderedVideo, thumbnailUrl, cvId) { // create dialog frame div for dialog var dialogFrame = document.createElement('div'); dialogFrame.setAttribute('id', 'videoPlayDialog'); // Load Videos loadVideoByUrlWithSize( "videoPlayDialog", urlToRenderedVideo, thumbnailUrl,