mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Remove unused video.js player initialization from message event listener
This commit is contained in:
parent
d196ee91e4
commit
24aae777df
1 changed files with 0 additions and 3 deletions
|
@ -1499,9 +1499,6 @@ function closeFullscreenVideo() {
|
||||||
avideoModalIframeClose();
|
avideoModalIframeClose();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Listen for messages from child frames
|
|
||||||
var player = videojs('my-video');
|
|
||||||
|
|
||||||
window.addEventListener('message', function (event) {
|
window.addEventListener('message', function (event) {
|
||||||
if (!player) {
|
if (!player) {
|
||||||
console.warn('Video.js player is not initialized.');
|
console.warn('Video.js player is not initialized.');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue