'; } }); } else { if (videoSrc != '') { if (videoSrc.toLowerCase().indexOf("youtube.com") > 0) { var youtubeVideoId = videoSrc.substring(videoSrc.lastIndexOf('/') + 1, videoSrc.indexOf('?')) videoSrc = "https://www.youtube.com/embed/" + youtubeVideoId + "?rel=0&modestbranding=1&showinfo=0"; document.getElementById("VideoContent").innerHTML = ''; } if (videoSrc.toLowerCase().includes("embed.mecloud.vn") == true) { } else { //document.getElementById("VideoContent").innerHTML = '
'; document.getElementById("VideoContent").innerHTML = ''; } } var $mediaItems = $('audio'); if (!document.createElement('video').canPlayType) { for (var i = 0; i
'); var $alternateMediaControl = $('#Media_Element_' + i); $alternateMediaControl.css({ width: $obj.width(), height: $obj.height() }) $obj.remove(); $alternateMediaControl.strobemediaplayback(options); } } }
Đăng nhận xét